NetTalk Central

Author Topic: set session timeout  (Read 2640 times)

cwtart

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • CommPay Software
    • Email
set session timeout
« 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



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: set session timeout
« Reply #1 on: July 08, 2013, 12:32:12 AM »
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