|
-
May 1st, 2005, 06:50 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Access the Session in a class
I have added a class to my project and can't access the Session variable. How can I get access to it?
I have a SqlDatabase class which reads my connection string from ConfigurationSettings.AppSettings("dbCon") and that works fine. I have a login page to get the userid and password to store in the Session. On every page I have to copy a function that reads the userid and password from the Session and passes it to the class. I want to avoid this by being able to access the Session from my class.
Last edited by wey97; May 17th, 2005 at 08:46 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|