Session ID

D

Daniel

Dear all, currently i'm using

sid=(Session.SessionID)

Isnt possible hat i have 2 Session.SessionID running at the same time??

Regards
cheers
 
R

Ray Costanzo [MVP]

Yes, it's very possible if you have to instances of your browser's process
running or you're using two different browsers.

Ray at work
 
D

Daniel

Ray,
I mean using the same browser. I need a sessionId to track my shopping
cart while the other track my redeem cert. Isnt possible??

Regards
cheers
 
R

Ray Costanzo [MVP]

No, there can only be one session ID per browser process instance. And even
if you decided to launch a new browser through a _blank link or something,
there is no guarantee that every machine will always create a new instance
of that browser process.

Ray at work
 
D

Dave Anderson

D said:
I mean using the same browser. I need a sessionId to track my shopping
cart while the other track my redeem cert. Isnt possible??

USENET is not email. Quote the passage you are responding to.

Here's your answer, BTW: http://aspfaq.com/show.asp?id=2157



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 
E

Egbert Nierop \(MVP for IIS\)

Hi,

SessionID from ASP is -not- unique. It is only ASP -per server- unique!
If you restart IIS or recycle the ASP process, you'll even have a new chance
for the same occurance of the sessionid.
I'd base my dependancy on a GUID not on the sessionID...
Success
 
E

Evertjan.

Egbert Nierop (MVP for IIS) wrote on 06 nov 2004 in
microsoft.public.inetserver.asp.general:
SessionID from ASP is -not- unique. It is only ASP -per server-
unique! If you restart IIS or recycle the ASP process, you'll even
have a new chance for the same occurance of the sessionid.
I'd base my dependancy on a GUID not on the sessionID...

Such chances are never zero.

Would that chance be more than once in a thousand years?

The GUID is not unique too, only the earth is not old enough.

[Both expecting say a few hundred sessions a day]
 
E

Egbert Nierop \(MVP for IIS\)

Evertjan. said:
Egbert Nierop (MVP for IIS) wrote on 06 nov 2004 in
microsoft.public.inetserver.asp.general:


Such chances are never zero.
see below...
Would that chance be more than once in a thousand years?

The GUID is not unique too, only the earth is not old enough.

oh gosh.
Are you serious? Just kidding. This is a non-issue. In fact, I create a GUID
using the cryptography services. But being afraid it would clash is a
*non*issue in compare with using SessionID...
[Both expecting say a few hundred sessions a day]

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,431
Latest member
ElyseG3173

Latest Threads

Top