Re: object in session question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Joyjit Mukherjee (joyjit_mukherjee_at_hotmail.com)
Date: 01/13/05


Date: Thu, 13 Jan 2005 11:02:59 +0530

Hi,

Call the Remove method of the HttpSessionState class to remove the item from
Session, and then dispose it.

regards'
Joyjit

"JJ" <JJ@discussions.microsoft.com> wrote in message
news:892318A5-8814-4EC7-B38A-442556B9393B@microsoft.com...
> Hi,
>
> I assigned a class to a session and after its use during the session I
> want to null it out of the session or reset it by killing the object in
the
> session and creating a new one. Any ideas on how to do this? What's the
best
> method to do this?
>
> Thanks,
>
> JJ



Relevant Pages

  • Re: Where is HttpSession ? System.net or System.web?
    ... In that namespace there is HttpSessionState class ... The Web server uses this ticket to ... > session information from a durable storage area. ...
    (microsoft.public.dotnet.framework)
  • Re: Detecting Session Timeout
    ... The ASP.NET HttpSessionState class provides a useful IsNewSession() method ... that returns true if a new session was created for this request. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IHttpHandler, IHttpModules, and cleaning up after File Uploading...
    ... It works because Session and the use of Dispose to do cleanup work -- no need to modify Global.asax ... Every time the user uploads a file, add the filename to the list: ... > IHttpHandler, or IHttpModule. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Error building Real-Time Workshop target
    ... With regards ... Error building Real-Time Workshop target for block ... generate project in Visual DSP++ using "Link for Analog ... sessions list is not dispalying for "Session Name" option. ...
    (comp.soft-sys.matlab)
  • Re: Win2003 SP1 and TS-web clients.
    ... When we intalled SP1 it takes ... Regards, Magnus ... >> After installing SP1, I'm having strange problems with my TSWEB ... >> just after a few seconds, the session will hang. ...
    (microsoft.public.windows.terminal_services)