Thanks for your replies.  I am using IIS 5.0 with forms 
authentication.  I think I may have the answer.  I have found a 
timeout property in the authentication section of the web.config.  It 
seems that the application takes the lower of this timeout and the 
session timeout.  The authentication timeout appears to relate to the 
authentication cookie expiry.  So if the cookie expires before the 
session is due to timeout, it times out anyway.  I'm surprised that I 
haven't come across this before.  I have spent a lot of time looking 
on the web for a resolution to this problem and not read anything 
about the authentication timeout before today.

I'm currently testing my app but its looking good so far.  


--- In [email protected], "Hemant Palod" 
<[EMAIL PROTECTED]> wrote:
> What version of IIS are u using , it its IIS 6.0 then it could be 
the
> problem because of recycling of asp.net worker process that leads to
> session timeout , in the IIS u need to change that setting as well. 
My
> be this could be one of the reasons the session times out before the
> session timeout actually happens.
> 
> 
> 
> -----Original Message-----
> From: Dean Fiala [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 14, 2005 7:34 AM
> To: [email protected]
> Subject: Re: [AspNetAnyQuestionIsOk] Session timeout not working
> correctly
> 
> 
> What version of ASP.NET are you using?
> Can you post the session settings portion of web.config?
> 
> 
> 
> 
> On Mon, 14 Mar 2005 00:35:28 -0000, daisymortimer1
> <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > I have been searching for some time for an answer to my session
> > timeout problem, where the session times out sooner than the
> > specified timeout period.  I have seen a lot of threads on this 
topic
> > but nothing that has fixed my problem so far.
> > 
> > The session.timeout value in my application is determined by the
> > permissions of the user.  A standard user has a session timeout
> > period of 40 minutes, while an administrator has a session timeout
> > period of 120 minutes.  These are set programatically, tho the
> > application web.config session timeout is also set to 40 minutes.
> > However, the session seems to timeout indescriminately, 
irrespective
> > of the current setting.
> > 
> > I have tried using performance counters to view the application 
and
> > worker process restarts and these do not appear to be happening
> > unexpectedly.  I have tried changing the IIS timeout setting.  Can
> > anyone suggest any other reason why the session is timing out
> > prematurely or any methods I can use to troubleshoot this problem,
> > which causes our customers great inconvenience.
> > 
> > I notice that the machine.config file has a timeout of 20 minutes,
> > but overrides are allowed so I am assuming that the timeout value
> > would be coming from the web.config.
> > 
> > thanks
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> Dean Fiala
> Very Practical Software, Inc
> http://www.vpsw.com
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> This email may contain confidential or privileged information for 
the intended recipient(s) and the views expressed in the same are not 
necessarily the views of Zensar Technologies Ltd. If you are not the 
intended recipient or have received this e-mail by error, its use is 
strictly prohibited, please delete the e-mail and notify the sender. 
Zensar Technologies Ltd. does not accept any liability for virus 
infected mails.





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to