BethanyW
4Penny.net
Points: 7600

10/4/2012 9:51:06 AM

ASP.NET - Extending the life of the 'Keep Me Logged In' functionality

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

Websites like this one often make use of the ASP.NET Forms Authentication schema. That schema has an optional parameter that will allow you to admin how long the 'Keep Me Logged In' functionality will remember the person. It does this using a cookie and setting the cookie timeout.

So, here is the snippet of code that you need to administer this and change it from it's default 48 hour setting

You'll find this code on the ASP.NET menu

4Penny.net
Version: Unknown or N/A
Section: .NET Development
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3