How to use Persistent Cookies with Forms Authentication in ASP.NET in C#
Usually you will use in your projects nonpersistent authentication cookie to maintain the authentication ticket between requests. This means that if the user closes the browser, the cookie is immediately removed. The benefits are the following:
– This is a sensible step that ensures security. It’s particularly important with shared computers to prevent …