NetTalk Central

Author Topic: How to set the timeout value to 'really long'?  (Read 3254 times)

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
How to set the timeout value to 'really long'?
« on: May 31, 2016, 01:40:20 PM »
Say, a week or so.

I've heard it's possible 😬 but how?

Peter

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: How to set the timeout value to 'really long'?
« Reply #1 on: June 01, 2016, 05:11:44 AM »
Look in WebServer for a generated line;

s_web._SitesQueue.Defaults.SessionExpiryAfterHS =
(the number after the = is the time you set on the Advanced tab for the "session timeout".
This number is in hundreths of a second.
The template limits you to 24:00, but you can set the number higher in code.
A week is
60480000

Cheers
Brice

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: How to set the timeout value to 'really long'?
« Reply #2 on: June 01, 2016, 05:25:45 AM »
Neat!

Thanks
Peter