Asp.net membership logout automatically

Posted by alejandrobog on Stack Overflow See other posts from Stack Overflow or by alejandrobog
Published on 2010-05-17T22:44:25Z Indexed on 2010/05/17 22:50 UTC
Read the original article Hit count: 639

Hi,

I recently deploy an application that uses asp.net membership (SqlMembershipProvider) and I dont know why but it automatically log out after 1 minute of inactivity. This doesn´t happen on my development environment. I even set the userIsOnlineTimeWindow to 60 which is supposed to be in minutes. Any ideas why this is happening?

Im deploying to a virtual directory on a shared hosting environment. Here is how I set up the membership provider

<membership defaultProvider="FaceMoviesMembership" userIsOnlineTimeWindow="60">


<providers>
<clear/>
<add name="FaceMoviesMembership" type="System.Web.Security.SqlMembershipProvider" connectionStringName="FaceMoviesAuthConnectionString" 
         enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" maxInvalidPasswordAttempts="10" 
         passwordAttemptWindow="60" requiresUniqueEmail="false" passwordFormat="Clear" applicationName="FaceMoviesWeb" 
         minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0"/>


</providers>

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-membership