473,387 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

About Session Object


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

Thanks
Nov 19 '05 #1
2 1244
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...
======================

"roland" <77***@sina.com> wrote in message news:eZ*************@TK2MSFTNGP15.phx.gbl...
When is the session object created and by which class,httpruntime or
httpapplication or sessionstateModule?

Thanks

Nov 19 '05 #2
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.

"Juan T. Llibre" <no***********@nowhere.com> дÈëÓʼþ
news:uQ*************@TK2MSFTNGP09.phx.gbl...
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...
======================

"roland" <77***@sina.com> wrote in message

news:eZ*************@TK2MSFTNGP15.phx.gbl...

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

Thanks


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
2
by: June Moore | last post by:
Hi, I've got the following code that sets a session object. set obj = server.createobject("Scripting.Dictionary") set session("testobj") = obj If I want to remove the session object, do each...
3
by: Martin | last post by:
Hi all As my posting title suggests I'm having problems using InProc Session state in my ASP .NET app. I wrote a site for a friend which uses ADO .NET to keep track of a simple...
10
by: Simon Harvey | last post by:
Hi everyone, Can anyone tell me if I declare a global variable in my pages code behind, is it persisted if the page does a post back, or do I need to add the object to the session object in...
1
by: Edward Yang | last post by:
When it comes to ViewState in ASP.NET, I have a mixed feeling of both love and hate. For love, it simplifies many aspects of common tasks; for hate, it bloats web pages with large amount of cryptic...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
2
by: Joergen Bech | last post by:
Trying to write an xml file from within a Session. Works fine if I do it in the Application_Start event of Global.asax, but not in the Page_Load event of an aspx page. If I give "Everyone" write...
3
by: Bjorn | last post by:
Hi, I read a lot of things about Serialization but i'm not sure i understand what it is really doing. Anyway, i use in my application the 'Profiles' which must contain things like name of...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.