Connecting Tech Pros Worldwide Help | Site Map

Question regarding ASP.NET Sessions...

Dean R. Henderson
Guest
 
Posts: n/a
#1: Dec 11 '05
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?


Steven Cheng[MSFT]
Guest
 
Posts: n/a
#2: Dec 12 '05

re: Question regarding ASP.NET Sessions...


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" <dean@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: <eFXCIgg$FHA.916@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?
|
|
|

Steven Cheng[MSFT]
Guest
 
Posts: n/a
#3: Dec 14 '05

re: Question regarding ASP.NET Sessions...


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: <eFXCIgg$FHA.916@TK2MSFTNGP10.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: stcheng@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: <rCZ$act$FHA.1236@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" <dean@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: <eFXCIgg$FHA.916@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?
| |
| |
| |
|
|

Closed Thread