Setting auth cookie timeout length based on role in ASP.NET

Posted by Wyatt on Stack Overflow See other posts from Stack Overflow or by Wyatt
Published on 2010-05-18T17:16:23Z Indexed on 2010/05/18 17:20 UTC
Read the original article Hit count: 333

I want to allow admins to be logged in for longer than normal users. I don't see a hook for setting the cookie timeout programmatically or in a role-based way. Is this possible in ASP using Forms Authentication?

Thank you in advance.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc