|
 |
asptoday_discuss thread: ASPSessionID
Message #1 by "Bryan Ax" <axb@a...> on Mon, 14 Jan 2002 13:25:23
|
|
The ASPSessionID cookie that gets assigned when users begin a session. Are
these unique for eternity? I wouldn't think so, but can't find anything on
it. My hunch is it's just a random key that's uniquely generated and
compared to all other current ASPSessionIDs in memory to make sure it's
not the same as any other...
Any information on this appreciated.
If you could reply direct, that would be great - only get digest mode.
Sincerely,
Bryan Ax
Developer
AMC Cancer Research Center
Message #2 by "Jason Salas" <jason@k...> on Mon, 14 Jan 2002 23:36:40 +1000
|
|
Hi Bryan,
The Session object in ASP creates IDs randomly, but there is the chance of
them repeating at some point, and they're not completely unique, in that
they only run with that value once and only once. The probability would
really be rare that you would get the same one to appear twice in rapid
succession, though.
Good luck!
A friend and fellow ASP coder in Guam,
Jason
----- Original Message -----
From: "Bryan Ax" <axb@a...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Monday, January 14, 2002 1:25 PM
Subject: [asptoday_discuss] ASPSessionID
> The ASPSessionID cookie that gets assigned when users begin a session. Are
> these unique for eternity? I wouldn't think so, but can't find anything on
> it. My hunch is it's just a random key that's uniquely generated and
> compared to all other current ASPSessionIDs in memory to make sure it's
> not the same as any other...
>
> Any information on this appreciated.
>
> If you could reply direct, that would be great - only get digest mode.
>
> Sincerely,
>
> Bryan Ax
> Developer
> AMC Cancer Research Center
>
Message #3 by "Jason Salas" <jason@k...> on Thu, 17 Jan 2002 21:02:25 +1000
|
|
Hi again Bryan,
I found something more documented that hopefully will give you some peace of
mind about using ASP's Session object. ASP whitepapers notes that Session
IDs are guaranteed to not be replicated by any other user logged on to a
site at the same time, but may do so in the future. So there's some
built-in security.
HTH,
Jason
> ----- Original Message -----
> From: "Bryan Ax" <axb@a...>
> To: "ASPToday Discuss" <asptoday_discuss@p...>
> Sent: Monday, January 14, 2002 1:25 PM
> Subject: [asptoday_discuss] ASPSessionID
>
>
> > The ASPSessionID cookie that gets assigned when users begin a session.
Are
> > these unique for eternity? I wouldn't think so, but can't find anything
on
> > it. My hunch is it's just a random key that's uniquely generated and
> > compared to all other current ASPSessionIDs in memory to make sure it's
> > not the same as any other...
> >
> > Any information on this appreciated.
> >
> > If you could reply direct, that would be great - only get digest mode.
> >
> > Sincerely,
> >
> > Bryan Ax
> > Developer
> > AMC Cancer Research Center
> >
>
|
|
 |