-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: KashiMVP
Message 4 in Discussion


Hi San,

You can use HttpContext to access session values in your general.vb file

Example
HttpContext.Current.Session["CustomerId"] = value;

Kashi.

-----Original Message-----
From: bcsanthosh [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 20, 2003 11:16 PM
To: BDOTNET
Subject: Accessing Session value in a class

From: bcsanthosh
Message 1 in Discussion

 Hi All,      I would like to know how to access a session value in a
user calss file, the scenario is I have a general.vb file which has all
general methods used across the pages, One of the function in general.vb
is accessing a session value, but either session or any of the server
objects is recognized in this page. I am sure I have to import some
system class, but I am not sure of which class to import. Any help of
this is appreciated.   Regards, San


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to