summaryrefslogtreecommitdiff
path: root/framework/Web/THttpSession.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/THttpSession.php')
-rw-r--r--framework/Web/THttpSession.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/framework/Web/THttpSession.php b/framework/Web/THttpSession.php
index f9aed384..5afcfb7a 100644
--- a/framework/Web/THttpSession.php
+++ b/framework/Web/THttpSession.php
@@ -39,6 +39,16 @@
* By default, THttpSession is registered with {@link TApplication} as the
* request module. It can be accessed via {@link TApplication::getSession()}.
*
+ * THttpSession may be configured in application configuration file as follows,
+ * <module id="session" type="THttpSession" SessionName="SSID" SavePath="/tmp"
+ * CookieMode="Allow" Storage="File" AutoStart="true" GCProbability="1"
+ * UseTransparentSessionID="true" TimeOut="3600" />
+ * where {@link getSessionName SessionName}, {@link getSavePath SavePath},
+ * {@link getCookieMode CookieMode}, {@link getStorage Storage},
+ * {@link getAutoStart AutoStart}, {@link getGCProbability GCProbability},
+ * {@link getUseTransparentSessionID UseTransparentSessionID} and
+ * {@link getTimeOut TimeOut} are configurable properties of THttpSession.
+ *
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Revision: $ $Date: $
* @package System.Web