NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: cwtart on July 06, 2013, 06:23:03 AM
-
How to set session timeout to a variable?
s_web._SitesQueue.Defaults.SessionExpiryAfterHS = 102001
s_web._SitesQueue.Defaults.SessionLength = Global:SessionTimeOut
What is the difference between the two methods above?
I have a variable to set the session timeout - Global:SessionTimeOut - this is set in minutes - the length of idle time before the user must login again.
But what is s_web._SitesQueue.Defaults.SessionExpiryAfterHS = 102001 ?
Chuck
-
SessionLength is not related to timeouts - it's the number of characters in the SessionId cookie.
>> I have a variable to set the session timeout - Global:SessionTimeOut - this is set in minutes - the length of idle time before the user must login again. But what is
s_web._SitesQueue.Defaults.SessionExpiryAfterHS = 102001 ?
this is the idle period allowed for a session, in "clarion time" (ie hundreths of a second). So 102000 is 17 minutes.
cheers
Bruce