470,818 Members | 1,587 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,818 developers. It's quick & easy.

Question regarding ASP.NET Sessions...

For an ASP.NET web application, is there a way for one session (with
appropriate security authorization) to set a HttpSessionState variable to
point to another session and execute the Abandon command to close out the
other session?
Dec 11 '05 #1
2 1501
Hi Dean,

Welcome to ASPNET newsgroup.
From your description, you're wondering some means to manipulate other
session's SessinoState data from a different session context, yes?

Based on my understanding, the buildin ASP.NET SessionState implementation
(asp.net 1.1 or 2.0) doesn't support accessing session state accorss
different session context... Since each time a request arrive the
serverside asp.net runtime, only the session datas assosicated with that
client will be queried and attached to the request....

Also, I'm not sure your detailed code logic or scenario, but if you're
using ASP.NET 2.0, there exists a new profile service which can help us
store user specific data and this data is persisted in backend
storage(provider based....). And for the profile service data, we can
access a certain user's profile data through username (normally used for
administration usage....).

#ASP.NET Profile Properties Overview
http://msdn2.microsoft.com/en-us/library/2y3fs9xs.aspx

In addition, ASP.NET 2.0 session state support define our own SessionState
Manager (module), thus, if necessary, we can completely manage the session
state our self and replace the buildin ones. However, this will require
lots of work which may cause much time.....

Thanks,

Steven Cheng
Microsoft Online Support

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

--------------------
| From: "Dean R. Henderson" <de**@ifmail.com>
| Subject: Question regarding ASP.NET Sessions...
| Date: Sat, 10 Dec 2005 20:02:42 -0800
| Lines: 6
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| Message-ID: <eF*************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: adsl-64-163-114-162.dsl.sktn01.pacbell.net
64.163.114.162
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:364067
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| For an ASP.NET web application, is there a way for one session (with
| appropriate security authorization) to set a HttpSessionState variable to
| point to another session and execute the Abandon command to close out the
| other session?
|
|
|

Dec 12 '05 #2
Hi Dean,

How are you doing on this issue, does the things in my last reply helps you
a little? If there're anything else we can help, please feel free to post
here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 70358720
| References: <eF*************@TK2MSFTNGP10.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online.microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Mon, 12 Dec 2005 04:46:59 GMT
| Subject: RE: Question regarding ASP.NET Sessions...
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <rC**************@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 64
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:364143
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Hi Dean,
|
| Welcome to ASPNET newsgroup.
| From your description, you're wondering some means to manipulate other
| session's SessinoState data from a different session context, yes?
|
| Based on my understanding, the buildin ASP.NET SessionState
implementation
| (asp.net 1.1 or 2.0) doesn't support accessing session state accorss
| different session context... Since each time a request arrive the
| serverside asp.net runtime, only the session datas assosicated with that
| client will be queried and attached to the request....
|
| Also, I'm not sure your detailed code logic or scenario, but if you're
| using ASP.NET 2.0, there exists a new profile service which can help us
| store user specific data and this data is persisted in backend
| storage(provider based....). And for the profile service data, we can
| access a certain user's profile data through username (normally used for
| administration usage....).
|
| #ASP.NET Profile Properties Overview
| http://msdn2.microsoft.com/en-us/library/2y3fs9xs.aspx
|
| In addition, ASP.NET 2.0 session state support define our own
SessionState
| Manager (module), thus, if necessary, we can completely manage the
session
| state our self and replace the buildin ones. However, this will require
| lots of work which may cause much time.....
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
|
|
| --------------------
| | From: "Dean R. Henderson" <de**@ifmail.com>
| | Subject: Question regarding ASP.NET Sessions...
| | Date: Sat, 10 Dec 2005 20:02:42 -0800
| | Lines: 6
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| | X-RFC2646: Format=Flowed; Original
| | Message-ID: <eF*************@TK2MSFTNGP10.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: adsl-64-163-114-162.dsl.sktn01.pacbell.net
| 64.163.114.162
| | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| | Xref: TK2MSFTNGXA02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:364067
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | For an ASP.NET web application, is there a way for one session (with
| | appropriate security authorization) to set a HttpSessionState variable
to
| | point to another session and execute the Abandon command to close out
the
| | other session?
| |
| |
| |
|
|

Dec 14 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Stijn Goris | last post: by
5 posts views Thread by bryan | last post: by
1 post views Thread by | last post: by
5 posts views Thread by Humble Geek | last post: by
4 posts views Thread by Pete Horm | last post: by
6 posts views Thread by Katash | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.