tbaseflug
asked on
session - read and write values: HttpContext.Current.Session
What is the best way to read and write a value to a session - is the below correct to write to?
HttpContext.Current.Sessio n["usernam e"] = Convert.ToString(dr["us_us ername"]);
HttpContext.Current.Sessio
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Although if just a username you should consider using the built in principals like User.Identity.Name - rather than storing your own version of loginin