Re: How to get session value at where out of asp.net process domain?(session ID is known)

From: ocean (at20000_at_126.com)
Date: 10/18/05


Date: Tue, 18 Oct 2005 10:21:51 +0800

The session enums were still in the current session.In fact,I want to get
the othere customer's session value ---- sessionID specified.

"Sundher" <sundher.ganesh@gmail.com> ????
news:1129537029.785035.107410@g44g2000cwa.googlegroups.com...
> You can try this code snippet
>
> System.Collections.IEnumerator iEnumSessions = Session.GetEnumerator();
> while(iEnumSessions.MoveNext())
> {
> HttpSessionState hss = (Session)
> iEnumSessions.Current;
> if(hss.SessionID == "SessionID1")
> {
> //DO code
> }
>
> }
>



Relevant Pages

  • Executing a background process
    ... session. ... The app needs to execute a program in the background (on the web ... server) and queries sessions on another server. ... Here’s a code snippet: ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: session variable issue?
    ... myself to get the users selection from the datalist, ... here is the button code snippet ... > page execution. ... >> the session varaible is coming back blank ...
    (microsoft.public.dotnet.framework.aspnet)
  • Problem in Fetching Session Variable
    ... We are facing a problem in retrieving the ASP.NET session of the logged on users correctly. ... Let me explain u using a code snippet ...
    (microsoft.public.dotnet.framework.aspnet)