diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-20 22:16:10 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-20 22:16:10 +0100 |
commit | ef4d964de440970b76ab48fcbd6748f43675efa3 (patch) | |
tree | a6a6ffa6d53ffaa12c2d5bd6f036e4c013481f26 /framework/Web/THttpSessionCookieMode.php | |
parent | 7254793d2bbe3f2f3d87d97172c54a54deea0a3a (diff) |
one class per file: framework/Web/*.php
Diffstat (limited to 'framework/Web/THttpSessionCookieMode.php')
-rw-r--r-- | framework/Web/THttpSessionCookieMode.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/framework/Web/THttpSessionCookieMode.php b/framework/Web/THttpSessionCookieMode.php new file mode 100644 index 00000000..810931b7 --- /dev/null +++ b/framework/Web/THttpSessionCookieMode.php @@ -0,0 +1,32 @@ +<?php +/** + * THttpSession class + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2014 PradoSoft + * @license http://www.pradosoft.com/license/ + * @package System.Web + */ + + +/** + * THttpSessionCookieMode class. + * THttpSessionCookieMode defines the enumerable type for the possible methods of + * using cookies to store session ID. + * + * The following enumerable values are defined: + * - None: not using cookie. + * - Allow: using cookie. + * - Only: using cookie only. + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @package System.Web + * @since 3.0.4 + */ +class THttpSessionCookieMode extends TEnumerable +{ + const None='None'; + const Allow='Allow'; + const Only='Only'; +}
\ No newline at end of file |