About Session Object

  • Thread starter Thread starter roland
  • Start date Start date
R

roland

When is the session object created and by which class,httpruntime or
httpapplication or sessionstateModule?

Thanks
 
re:
When is the session object created

The first time a browser requests an aspx page in an Application.

If using cookieless mode, the session state will be managed
by annexing an arbitrary character sequence to the URL.

If using cookies, the session state will be managed with cookies.

re:
by which class,httpruntime or httpapplication or sessionstateModule?

HTTPSessionState

See : http://www.csharphelp.com/archives/archive185.html
and Peter Bromberg's explanations at http://www.eggheadcafe.com/articles/20021016.asp



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
 
At server side,there is a session object,
such as page.session,httpcontext.session, that's all the same thing.

When the request reached the web server, IIS load the Aspnet_ISAPI.Dll,
then the aspnet_wp.exe is loaded, then appdomain is created, and then
httpcontext is created.
I want to know when the session object is created at server side and which
object create it.
 
Back
Top