Last post Aug 17, 2011 04:43 AM by Mamba Dai - MSFT
Aug 12, 2011 01:11 PM|ravi010mittal|LINK
Iam working on my personal site. I want to use State Management to store user login information. I am using form auth. Please Give me the best way to store user login information which i can access on any page........
very urgent please help
Aug 15, 2011 08:49 AM|stuie|LINK
What information do you need to access about your logged in user?
You have their username by defualt in the (HttpContext.Current.User.Identity.Name). And you can use this to get their membership details.
Or if you just want to store say a user ID then you can use session state.
Hope this helps,
Aug 15, 2011 03:40 PM|budugu|LINK
I am using form auth. Please Give me the best way to store user login information which i can access on any page........
Asp.net uses forms authentication ticket, which is typically included in the user's cookies collection.
Aug 17, 2011 04:43 AM|Mamba Dai - MSFT|LINK
forms authentication ticket is a good idea for your issue. Ticket is stored into the cookie. So the ticket and cookie are closely related.
To grasp forms authentication ticket and cookie please grasp this articel: