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.Sess ionState namespace. Can
anybody please explain me whether i have understood it correctly?
Thanks
pradeep_tp
Query_0000002 6 2414
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.Sess ionState 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.d e
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.Sess ionState 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.d e
HttpSessionStat e is the one that represents HTTP session.
"pradeep_TP " <pr*******@disc ussions.microso ft.com> wrote in message
news:76******** *************** ***********@mic rosoft.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.Sess ionState namespace. Can
anybody please explain me whether i have understood it correctly?
Thanks
pradeep_tp
Query_0000002
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: HttpSessionStat e. 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 HttpSessionStat e class in ASP.NET.
Cheers,
-- http://www.joergjooss.de
mailto:ne****** **@joergjooss.d e
Thank you joerg.
I was also quite sure that its the HttpsessionStat e 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: HttpSessionStat e. 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 HttpSessionStat e class in ASP.NET.
Cheers, -- http://www.joergjooss.de mailto:ne****** **@joergjooss.d e This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 object's members.
now, i have an enclosing class, which has a static factory method (loads
an instance of the enclosing class from a serialized file, and returns
it).
during the loading, some initialization takes place. one of the
initialization...
|
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, while an instance of class C should be able to check all methods
#defined in C, B and A.
#------------------------------------------------
|
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 Base class (old-style) which defines a default class attribute 'bar'
too. I can't modify the source code of this class. Note that Workes does
not inherit from Base.
- a Derived class which must inherit from Base and is a wrapper around
Worker: it...
|
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 to turn a previously
made String class that deals with char's into a templated String class
that uses the template parameter C instead of char. I thought it would
be fairly simple to do this exercise, but I encoutered many errors for
my...
|
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 pointer
which points to an instance of a derived class, but when I pass that
base class pointer into a function, it can't access the derived
object's public functions. Although, the base class pointer does call
the appropriate virtual function...
| |
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 CommonPageBase
- Contains myPage which inherits PageBase
Each of these classes overrides OnInit and ties an event handler
|
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 thawed it out. I built a console app using
Microsoft Visual C++ 6 (VC++) and it worked great. Only one line in the
header file had to be commented out.
I built a console app using Borland C++ Builder 5. The linker complained of
references to...
|
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 magic, I
wrote the following module. It is mainly useful as a light weight tool
to help programmers catch mistakes at definition time (e.g., forgetting
to implement a method required by the given interface). This is handy
when unit tests or...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |