RE: How do I change the session timeout?



Hi;

Ok, I changed the timeout to 3 (minutes), restarted IIS, logged in to my app
which we use the ASP.NET membership/role provider for, waited 5 minutes, then
went to a different page and it displayed that page - I was still logged in.

If I wait 21 minutes and go to a different page it makes me log in again.

Am I not understanding something on the session timeout?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm




"Steven Cheng[MSFT]" wrote:

Hi Dave,

As for ASP.NET SessionState, the timeout setting does be the "timeout"
attribute of the <sessionState> element:

#sessionState Element
http://msdn2.microsoft.com/en-us/library/h6bb9cz9.aspx

As for the session timeout behavior, how did you found that the session
hasn't been timeout. When a old session has been timeout, a new one will be
started. Have you checked the sessionID to verify that a different
sessionID has been established?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.










.



Relevant Pages

  • Re: Request timed out error only when running release mode not deb
    ... you may get timeout error due to the following two causes: ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ... GetAsyncResponse (client should be waiting for the server to finish the ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Request timed out error only when running release mode not deb
    ... you may get timeout error due to the following two causes: ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ... GetAsyncResponse (client should be waiting for the server to finish the ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Time out with MDX queries
    ... I understand that you encounter timeout error after hour though you set ... On the server itself there is a MaxIdleSessionTimeout property. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.sqlserver.olap)
  • RE: SQLConnection.connectiontimeout
    ... As for the SqlConnection's Timeout setting, ... Connection" in the connectionstring. ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Timeout pattern in C#
    ... I am Hongye Sun and it is my pleasure to work ... completion or timeout. ... Microsoft Online Community Support ... nature are best handled working with a dedicated Microsoft Support Engineer ...
    (microsoft.public.dotnet.languages.csharp)