By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,854 Members | 1,828 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,854 IT Pros & Developers. It's quick & easy.

Is Session ID is unique?

P: n/a


It appears that the session Id is not unique when the application is
updated.

Here is how I encounter that.

User logged in around 7 AM. Application recorded that Session Id as s1.

I updated the web application around 7.30 AM.

User logs in around 10 am. Application recorded that Session Id as s1.

For argument sake I have selected s1.

Is it session Id is unique?

I am using ASP.Net application with .Net FrameWork 1.1.

Please advice.

Nelson
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Nelson:

The SessionID is not unique over space and time. It is not the kind of
ID you would use as a primary key in a database, for instance.

--
Scott
http://www.OdeToCode.com

On Fri, 24 Sep 2004 13:34:53 -0700, "Nelson Smith"
<Ne***********@hotmail.com> wrote:


It appears that the session Id is not unique when the application is
updated.

Here is how I encounter that.

User logged in around 7 AM. Application recorded that Session Id as s1.

I updated the web application around 7.30 AM.

User logs in around 10 am. Application recorded that Session Id as s1.

For argument sake I have selected s1.

Is it session Id is unique?

I am using ASP.Net application with .Net FrameWork 1.1.

Please advice.

Nelson


Nov 18 '05 #2

P: n/a
Session ID's are recycled by the runtime, they are unique in that only 1
session will ever have that session ID at any given time.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"Nelson Smith" <Ne***********@hotmail.com> wrote in message
news:OQ*************@TK2MSFTNGP10.phx.gbl...


It appears that the session Id is not unique when the application is
updated.

Here is how I encounter that.

User logged in around 7 AM. Application recorded that Session Id as s1.

I updated the web application around 7.30 AM.

User logs in around 10 am. Application recorded that Session Id as s1.

For argument sake I have selected s1.

Is it session Id is unique?

I am using ASP.Net application with .Net FrameWork 1.1.

Please advice.

Nelson

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.