View Single Post
  #2 (permalink)  
Old June 4th, 2008, 08:44 AM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

No need to berate yourself. We were all new once.

You need to read up on the Authentication system of ASP.NET (for example, Forms Authentication). Once you have logged in, this information is available to you. It's managed automatically.

Generally, any data you want to carry around from page to page that is user specific would go into the Session collection. You typically don't need to use globals in the classic sense of the term.

-Peter
compiledthoughts.com