473,513 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HttpSession Class

Hi all,

I am trying to find out the internals of session management in ASP.net. I
often come accross a class called HTTPSession. However I do not find any such
class anywhere in the .net framework class. The closest i could get was
HttpSessioState class which is in System.Web.SessionState namespace. Can
anybody please explain me whether i have understood it correctly?

Thanks
pradeep_tp
Query_0000002
Nov 19 '05 #1
6 2407
pradeep_TP wrote:
Hi all,

I am trying to find out the internals of session management in
ASP.net. I often come accross a class called HTTPSession. However I
do not find any such class anywhere in the .net framework class. The
closest i could get was HttpSessioState class which is in
System.Web.SessionState namespace. Can anybody please explain me
whether i have understood it correctly?


Yes, that's the class you're looking for.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #2
Jooss your reply has confused me. when you said "that's the class " which
class are you pointing to. If you meant HttpSessioState, the why so many web
sites refer to HttpSession class, which i do not see anywhere!

thanks
pradeep_tp

"Joerg Jooss" wrote:
pradeep_TP wrote:
Hi all,

I am trying to find out the internals of session management in
ASP.net. I often come accross a class called HTTPSession. However I
do not find any such class anywhere in the .net framework class. The
closest i could get was HttpSessioState class which is in
System.Web.SessionState namespace. Can anybody please explain me
whether i have understood it correctly?


Yes, that's the class you're looking for.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de

Nov 19 '05 #3
HttpSessionState is the one that represents HTTP session.

"pradeep_TP" <pr*******@discussions.microsoft.com> wrote in message
news:76**********************************@microsof t.com...
Hi all,

I am trying to find out the internals of session management in ASP.net. I
often come accross a class called HTTPSession. However I do not find any
such
class anywhere in the .net framework class. The closest i could get was
HttpSessioState class which is in System.Web.SessionState namespace. Can
anybody please explain me whether i have understood it correctly?

Thanks
pradeep_tp
Query_0000002

Nov 19 '05 #4
pradeep_TP wrote:
Jooss your reply has confused me. when you said "that's the class "
which class are you pointing to. If you meant HttpSessioState, the
why so many web sites refer to HttpSession class, which i do not see
anywhere!


There's only one class: HttpSessionState. There's no class HttpSession
(that's the name of the equivalent interface in J2EE).

If somebody refers to a "session" or a "HTTP session", it implies using
an instance of the HttpSessionState class in ASP.NET.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #5
Thank you joerg.

I was also quite sure that its the HttpsessionState and NOT Httpsession. But
i was really confused (should i still say still confused...) when I read the
following articles.

http://www.codeproject.com/aspnet/AS...sp#xx1030220xx.

http://msdn.microsoft.com/library/de...rttoaspnet.asp

Both of the articles talk about HTTPSession object!!. I wonder whether it is
a voodoo magic!?

Cheers
pradeep_tp

"Joerg Jooss" wrote:
pradeep_TP wrote:
Jooss your reply has confused me. when you said "that's the class "
which class are you pointing to. If you meant HttpSessioState, the
why so many web sites refer to HttpSession class, which i do not see
anywhere!


There's only one class: HttpSessionState. There's no class HttpSession
(that's the name of the equivalent interface in J2EE).

If somebody refers to a "session" or a "HTTP session", it implies using
an instance of the HttpSessionState class in ASP.NET.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de

Nov 19 '05 #6
pradeep_TP wrote:
Thank you joerg.

I was also quite sure that its the HttpsessionState and NOT
Httpsession. But i was really confused (should i still say still
confused...) when I read the following articles.

http://www.codeproject.com/aspnet/AS....asp#xx1030220
xx.

http://msdn.microsoft.com/library/de...ry/en-us/dnasp
p/html/converttoaspnet.asp

Both of the articles talk about HTTPSession object!!. I wonder
whether it is a voodoo magic!?


No, it's just a mild case of sloppiness on the authors' side ;-)

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #7

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

Similar topics

1
10938
by: Murat Tasan | last post by:
hi, i am having a small problem with constructing an inner class. i am using an inner class (and not a static nested class) because the methods of the inner class need access to the enclosing...
2
9577
by: Fernando Rodriguez | last post by:
Hi, I need to traverse the methods defined in a class and its superclasses. This is the code I'm using: # An instance of class B should be able to check all the methods defined in B #and A,...
2
2023
by: Gabriel Genellina | last post by:
Hi In the following code sample, I have: - a Worker class, which could have a lot of methods and attributes. In particular, it has a 'bar' attribute. This class can be modified as needed. - a...
1
3321
by: Oplec | last post by:
Hi, I'm learning C++ as a hobby using The C++ Programming Language : Special Edition by Bjarne Stroustrup. I'm working on chpater 13 exercises that deal with templates. Exercise 13.9 asks for me...
9
4969
by: Banaticus Bart | last post by:
I wrote an abstract base class from which I've derived a few other classes. I'd like to create a base class array where each element is an instance of a derived object. I can create a base class...
5
3140
by: Andy | last post by:
Hi all, I have a site with the following architecture: Common.Web.dll - Contains a CommonPageBase class which inherits System.Web.UI.Page myadd.dll - Contains PageBase which inherits...
3
3739
by: Hamilton Woods | last post by:
Diehards, I developed a template matrix class back around 1992 using Borland C++ 4.5 (ancestor of C++ Builder) and haven't touched it until a few days ago. I pulled it from the freezer and...
0
2812
by: emin.shopper | last post by:
I had a need recently to check if my subclasses properly implemented the desired interface and wished that I could use something like an abstract base class in python. After reading up on metaclass...
0
7384
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
7539
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...
1
7101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7527
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3223
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.