Where do we store the session information in asp.net?

Could you please tell me where will the session information be stored?
Suppose if I store the logged in userid in a session variable , then what settings do I need to do to retrieve this session variable across the pages?

Thank you
Who is Participating?
Daniel WilsonConnect With a Mentor Commented:
Session variables span pages.  http://msdn.microsoft.com/en-us/library/ms972429.aspx

Session() is a collection of name-value pairs for this purpose.

Session("UserID") = "DanielWilson"'somewhere else ...sUserID = Session("UserID")If not sUserID is nothing then lblUserID = suserID

ipjyoAuthor Commented:
Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.