RE: Where is HttpSession ? System.net or System.web?

From: Peter Huang (v-phuang_at_online.microsoft.com)
Date: 03/15/04


Date: Mon, 15 Mar 2004 02:33:23 GMT

Hi Anders,

>From your description, I understand that you wants to find the HttpSession
class in ASP.NET.
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.

I think there is no such class in ASP.NET. Here is a link you may take a
look.

Persisting the Session with ASP.NET
Sessions in ASP.NET applications work much the same as they do in JSP. In
order for the Web server to differentiate incoming requests, it must give
the requesting browser a unique piece of information (a ticket) that is
presented on subsequent visits. The Web server uses this ticket to retrieve
session information from a durable storage area.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html
/aspnet-jspmig-sessionmanagement.asp

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.



Relevant Pages

  • Re: Where is HttpSession ? System.net or System.web?
    ... > order for the Web server to differentiate incoming requests, ... The Web server uses this ticket to ... > session information from a durable storage area. ...
    (microsoft.public.dotnet.framework)
  • Re: Session data loss during user logged session
    ... I am developing web application, which is a part of IT project. ... app Administrators can add end-users of this project. ... I was logged in as another user (I have lost my ticket and session and get ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Forms Authentication Expiration
    ... but I was wondering if there was a Right Way to do it by having the ticket ... > than that of the session. ... > expiration DateTime or timeout "life time" in minutes. ... >>expires, I do not want them to have to reauthenticate. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: How to do forms authentication with cookieless=UseUri?
    ... forms authentication create a login ticket and stores it in a cookie or the ... session also creates a session ticket and stores it in a cookie or the ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Forms timeout doesnt appear to be working.
    ... session tickets and authentication tickets are unrelated to each other. ... you are using inproc sessions you need to worry about recycle events. ... I realize the length on the ticket is really REALLY long but at the moment I ... I have a feeling it's the session timeout because if I take ...
    (microsoft.public.dotnet.framework.aspnet)