How can I tell what the username is of an authenticated using Forms Authentication with ASP.NET

Posted by James Alexander on Stack Overflow See other posts from Stack Overflow or by James Alexander
Published on 2010-06-13T16:16:53Z Indexed on 2010/06/13 16:22 UTC
Read the original article Hit count: 259

After a user is authenticated I store their username in session state but if the session times out, I want to create a new session for the user based on their username they authenticated with original. How can I get from Forms Authentication the currently authenticated user?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about forms-authentication