473,503 Members | 9,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is Session ID is unique?



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

Similar topics

2
5189
by: Brad | last post by:
Hi everyone, I've been using ASP on a few different projects over the past year, either using Javascript or VBScript. During that time, I've made use of session variables, but even then, I've...
14
1860
by: Julia | last post by:
Hi, I have the following scenario Page A.asp call page B.asp Page B.asp need to load page C.asp make some changes and return the result to IE when A.asp is first running IIS create a...
4
6791
by: RCS | last post by:
We have sort of a centralized single-signon written in ASP.NET for all of our legacy ASP and ASP.NET apps.. There are around 1200 users and something like 2 dozen apps. Everyonce in a while, a user...
5
4458
by: Newton | last post by:
Hi, I got here the following problem. I am programming web application for examing students. After student will log on I need to keep his ID, Privileges, Login, Password for manipulating with...
3
1318
by: Keith Patrick | last post by:
I have an app (A) that has a link to another (B) app that it spawns in a new window. The new window has a link back to app A, opening a third window (let's call it A2). The problem is, I need A2...
2
2256
by: Ben Fidge | last post by:
Are IIS session ID's guaranteed to be unique forever, like GUID's. Ie, would it be safe to assume that a session ID is not ever going to be used again or recycled? I want to track user activity on...
11
2300
by: rayala | last post by:
Hi all, I am having very weird problem in my Outlook I am running my web application from with in Outlook.I found a strange problem that it is creating different sessionId if i open a new...
9
2797
by: cendrizzi | last post by:
Hi all, I've read some stuff on this but can't seem to come up with a solution that works right. I have a semi-mature (yet very large and robust) internal web application that currently only...
26
3576
by: BillE | last post by:
Some ASP.NET applications use Session Variables extensively to maintain state. These should be re-written to use viewstate, hidden fields, querystring, etc. instead. This is because if a user...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7095
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
7294
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,...
1
7015
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4693
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3183
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1523
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
749
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.