Article View: borland.public.csharpbuilder.language.csharp
Article #559Re: HTTP Session
From: Sunil.P.Thomas
Date: Wed, 04 Aug 2004 05:08
Date: Wed, 04 Aug 2004 05:08
35 lines
2219 bytes
2219 bytes
Hi Marc ,
My current scenario is ,
The admin of the web site decides that a specific active user
should log off.
All the users identities are stored in their curresponding session.
So if we can access all the session's some how , we can call
Session.Abandon for that session.
So after this the user will automatically redirected to the login
page.
Now we are dealing this problem by cheking in each page , whether
the user with particular session id
can access the page by maintaining a collection of authorized
session ids.
Thanks in advance
Sunil
"Marc Rohloff [TeamB]" <"on request"> wrote in message
news:1k9szl98zqicj$.dlg@marcrohloff.40tude.net...
> On Tue, 3 Aug 2004 16:51:31 +0530, Sunil.P.Thomas wrote:
>
> > How can we get access to the Session's that are active in a web
> > application ?
> > Suppose there are three active sessions , is there any way to get
all
> > the session's somehow ?
>
> No. Even if there are active sessions that doesn't mean that the user
> is busy fetching a page for that session. The sessions are not kept as
> active objects it would take to many resources.
>
> What are you trying to do?
>
> --
> Marc Rohloff [TeamB]
> marc rohloff at myrealbox dot com
Technical Details
Message-ID:
<41106e3f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<410f73df$1@newsgroups.borland.com> <1k9szl98zqicj$.dlg@marcrohloff.40tude.net>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,77cbdde8b2374aa7 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Sunil.P.Thomas" <sunil@netlinkindia.com> Newsgroups: borland.public.csharpbuilder.language.csharp References: <410f73df$1@newsgroups.borland.com> <1k9szl98zqicj$.dlg@marcrohloff.40tude.net> Subject: Re: HTTP Session Date: Wed, 4 Aug 2004 10:38:53 +0530 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 202.144.28.122 Message-ID: <41106e3f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1091595839 202.144.28.122 (3 Aug 2004 22:03:59 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail