After the user has logged in , how can store his username in a session ?
Printable View
After the user has logged in , how can store his username in a session ?
vb Code:
Session("USERNAME") = User.Identity.Name
but depending on what you're doing i don't know why you would need to since you would have it from the User.Identity.Name