timeout issue

F

Felix_WafyTech

Hello All,

I've set the timeout as 720 in the web.config file. But the website elapses
and displays the login screen in about 20 minutes. It doesn't seem to honor
the setting in the web.config file. I'm wondering what could be going wrong.
Any help is very much 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
 
D

Dominick Baier [DevelopMentor]

FormsAuthentication time outs are distinct from session timeouts..

use the authentication/forms element in web.config to configure forms authentication
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top