Timeout not working as specified in Web.config

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
 
S

Steven Cheng[MSFT]

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.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top