473,396 Members | 2,070 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1606
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Stijn Goris | last post by:
Hi all, I have a question regarding the header function. I send a browser to a certain page (eg first.php ) wich sends no output to the browser. This page sends the browser to another page (eg...
5
by: bryan | last post by:
Hi folks, I've got a question about sessions in PHP. I'm a *gulp* ASP coder, so please bear with me. I developed a PHP site a few months back that has a password protected entry into a...
2
by: Amit D.Shinde | last post by:
Hello Experts.. I need some help regarding cookies and session objects and also global.asa file I am creating one cookie when a user logs in on my website. The cookie stores the login name of...
0
by: Bryan Ax | last post by:
Quick question regarding best practices for using the AspState database for storing session variables in .NET web applications. I know I need to configure the web.config file with a database user...
1
by: | last post by:
Hoping to get some ideas from more experienced hands regarding the best way to use object-oriented design to assist my development of a content management system destined for multiple devices. ...
5
by: Humble Geek | last post by:
Hi all. Quick and perhaps silly question, but... I am using Pg 7.3. I am writing a function using pgplsql. This function will perform multiple inserts. Let's say two of the inserts are as...
4
by: Pete Horm | last post by:
Hi everyone, I have a question about using this variable. I am new to programming and I had a book that was a couple of years old regarding php programming. None of the examples were working...
6
by: Katash | last post by:
***newbie_request*** I have a simple program that inserts user details into a MySQL database - The form validation is dealt with by another program that contains the html form I would like to...
0
by: TigrouMeow | last post by:
Hello, I'm trying to make a "clean" webservice, using Nhibernate. I'm facing some issues, but i'm quite the beginner with that kind of system. When there are more than 2 clients connected on my...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.