NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: alex.kolaric on December 20, 2011, 05:32:53 AM

Title: NT5 - timeout question
Post by: alex.kolaric 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
Title: Re: NT5 - timeout question
Post by: Bruce 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
Title: Re: NT5 - timeout question
Post by: alex.kolaric 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