NetTalk Central

Author Topic: NT5 - timeout question  (Read 4644 times)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
NT5 - timeout question
« on: December 20, 2011, 05:32:53 AM »
Hi,

I want to setup session timeout for one of our apps to be user defined. If I set value of the s_web._SitesQueue.Defaults.SessionExpiryAfterHS to 360001 for 1 hr timeout occurs much earlier for example in 20 min or so. What can be the reason for this?

Any help is appreciated

Alex

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT5 - timeout question
« Reply #1 on: December 20, 2011, 07:08:59 AM »
my guess is that you're setting it in the wrong place. It must be in the embed point, in WebServer _immediately_ after the generated code, _before_ the PUT instruction. SitesQueue is, well, a Queue, so it needs a PUT to "write" the setting into the queue.

cheers
Bruce

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: NT5 - timeout question
« Reply #2 on: December 20, 2011, 07:42:11 AM »
Thanks Bruce,

my apologies. You are absolutely correct. I'm setting it in wrong place. All other settings are placed in Override Default Server Settings and this one ended up in a wrong place probably by mistake.

Regards,
Alex