Session["somevalue"] in Global.asax

  • Thread starter Thread starter dejavue82
  • Start date Start date
D

dejavue82

Hi,

Is it possible to read from a Session["somevalue"] object in one of the
Global.asax events?
I'm wondering, since I'm not sure if there is one instance of
Global.asax running per app or one for each request.

Thank you.

Regards,

Jim
 
One per app. Session start events fire after the application is loaded so it
is available.
 
Hmmm... but the Global.asax file can perform different tasks for
different requests, or? Or is it more centralized than that?


One per app. Session start events fire after the application is loaded so it
is available.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc


Hi,

Is it possible to read from a Session["somevalue"] object in one of the
Global.asax events?
I'm wondering, since I'm not sure if there is one instance of
Global.asax running per app or one for each request.

Thank you.

Regards,

Jim
 
re:
the Global.asax file can perform different tasks for different requests

The Global.asax file can perform different tasks for different *events*.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
Hmmm... but the Global.asax file can perform different tasks for
different requests, or? Or is it more centralized than that?


Alvin said:
One per app. Session start events fire after the application is loaded so it
is available.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc


Hi,

Is it possible to read from a Session["somevalue"] object in one of the
Global.asax events?
I'm wondering, since I'm not sure if there is one instance of
Global.asax running per app or one for each request.

Thank you.

Regards,

Jim
 
Back
Top