Re: why use cookies for shopping cart?

by "Peter Newton" <c-newton(at)ihug.co.nz>

 Date:  Sun, 19 Mar 2000 09:24:09 +1200
 To:  <hwg-techniques(at)hwg.org>
 References:  omnitec omnitec2 videotron
  todo: View Thread, Original

Just one point of concern here about the session ID
being a randomly generated number. I accept that
this is a small window but (at least in theory) a random
number generator cannot guarrantee to produce a
UNIQUE number which means that the SAME number
could be generated for 2 users using the service at the
same time.

I don't want to get bogged down on this one but I nearly
got caught out on this point myself but for a timely
response on the basics list.
I hope the software checks all numbers currently in use
to ensure that the random number is also a UNIQUE
one.

Just a one cent thought
Peter Newton

-----------------------------
At 12:35 PM 13/03/00 -0500, you wrote:
> >What is a sessionid? This sounds like something unique to IE or IIS [most
>likely]? From what is a 'sessionid' created?

>Yes, it is an IIS thing.  It is a randomly generated number that is
>assigned to each visitor session.  I use this number to track the shopping
>cart.   . . . . . . . .

. . . . . . .

HTH!

St�phane Bergeron

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA