asp.net - Session timeout vs Form Authentication timeout -


What is the difference between a quitting session and a cookie timeout, if the session is left out and the cookie is still alive, then what will happen, can it cause problems?

  & lt; SessionState timeout = "1" /> & Lt; Authentication mode = "form" & gt; & Lt; Forms loginUrl = "login.aspx" timeout = "1" /> & Lt; / Authentication & gt;  

Thanks

I do not believe that a problem. The session timeout session is specific to the state system, but for the form, the timeout is specific to the cookie that retains the user's credentials.

In one of my apps, the user is still logged out as session time, but once the authentic cookie bar is out, the user must log in again.

HTH


Comments