Http Modules

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear Folks,
I my App,I am using Http module to set some information before the
page load begins.In this i am declaring some shared variables in the Http
Module.
whether these shared variables are shared across the application users or
it is shared within a page request. please let me know of this at the
earliest.
thanks in advance
 
It's shared across application users.

Dear Folks,
I my App,I am using Http module to set some information before the
page load begins.In this i am declaring some shared variables in the Http
Module.
whether these shared variables are shared across the application users or
it is shared within a page request. please let me know of this at the
earliest.
thanks in advance
 
As Siva pointed out they are shared across the application. You are
probably looking for something like the HttpContext Items collection.
You can set variables before Page_Load and fetch them inside the page
processing.

The HttpContext Items Collection
http://odetocode.com/Articles/111.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top