membership timeout and session timeout -


To avoid membership, you must set a membership timeout for the session termination and the login session expires It is a problem that I face in my ASP.NET application that I am using login control and when the user sends a comment and the login control session has expired, then comment on it Do not accept Ran and I knew later that the end of the login control session before I ended the membership.

How can I end membership time to expire B4 session expired?

In advance thanks

You can set timeout for session and authentication cookies :

  & lt; Authentication mode = "form" & gt; & Lt; Forms loginUrl = "/ login.aspx" requireSSL = "true" security = "all" timeout = "15" domain = "example.com" sliding aspiration = "true" name = "auth_cookie" /> & lt; / Authentication & gt;  

More Sessions:

  & lt; System.web & gt; & Lt; Sessionstate mode = "infrac" cookies = "false" timeout = "20" /> & Lt; /system.web>  

Comments

Popular posts from this blog

MVP, design question -

excel - Populate list via a bi-Condition -

iphone - How do I make a UIPickerView in a UIActionSheet -