NetTalk Central

Author Topic: Session timeout??  (Read 3153 times)

Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Session timeout??
« on: September 03, 2021, 01:32:46 PM »
I'm missing a piece here.

The SessionManager in PageFooterTag uses the new (as of 12.13) p_web.GetSessionTimeout method.

On a server I'm working on I set the timeout on the server window to 3 minutes.
The "old" p_web.site.SessionExpiryAfterHS/100 correctly gets set to 180.
But the p_web.GetSessionTimeOut()/100 that the SessionManager uses stubbornly says 900 (stuck at 15 minutes).

Do I need to call p_webSetSessionTimeOut when a user logs in and pass in the "site" value?
Or what is the best way to make these things line up?

Thanks for any insight.

Jane

Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: Session timeout??
« Reply #1 on: September 05, 2021, 12:17:32 PM »
Never mind.

Jane getting burned by session values surviving restart because they're hiding in the *.state.xml file.  And the session EXPIRYAFTERHS overrides the site setting even if it hasn't been explicitly set. 
(Note to self to delete that XML file before tweaking the appearance of the session manager notification window.)

Never mind....