Currently, we are using role based protection to protect pages of our website with a log in. We are having an issue where users are getting logged out within an hour. How can we fix this?
Also, we would like to implement persistent cookies on some of our sites so that users do not have to log in everytime they visit the site (unless they clear their cookies of course). Anyone know how to go about doing this?
How do we implement persistent cookies?
Currently, we are using role based protection to protect pages of our website with a log in. We are having an issue where users are getting logged out within an hour. How can we fix this?
Also, we would like to implement persistent cookies on some of our sites so that users do not have to log in everytime they visit the site (unless they clear their cookies of course). Anyone know how to go about doing this?
You could set cookies to expire after a year, see this: http://asp-net-example.blogspot.com/2009/01/aspnet-cookie-example-how-to-set.html
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.