diff options
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 |