Timeout not working as specified in Web.config

  • Thread starter Thread starter Felix_WafyTech
  • Start date Start date
F

Felix_WafyTech

Hello,

I've set the timeout to 720 in the web.config file (see detila below).
However, the page elapses after 20 minutes and the login screen is displayed
again. Is there anything else that needs to be set or taken care of? Your
help is appreciated.

<system.web>
<sessionState mode="InProc" cookieless="false" timeout="720"/>

<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="720">

<providers>

<remove name="AspNetSqlProvider"/>

<add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider"
connectionStringName="ConnectionString" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="true"
passwordFormat="Hashed" applicationName="/"/>

</providers>

</membership>

</system.web>

Thanks,
Felix.J
 
Hi Felix,

Thank you for posting.

Regard on the timeout of the forms authentication ticket problem, is it a
common problem among all the ASP.NET application on that server, also, is
this a machine specific issue? Also, since forms authentication ticket is
stored in client cookie by default, you can turn on the ASP.NET page trace
on the page to check whether the cookie is always persisted correctly
during the lifetime of the user's login time.

Regards,

Steven Cheng
Microsoft Online Community Support


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

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

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


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



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top