[thelist] ASP: Shopping Cart Theory

Jay Blanchard jay.blanchard at niicommunications.com
Mon Jul 8 14:00:01 CDT 2002


[snip]
Is there any other way?
[/snip]

A non-cookie cookie, server side. When the shopper starts a "session" create
an ID that can be passed through hidden form fields. Open a server side text
file and maintain information matching that ID in that text file, stuff
added to cart, etc. Read and write to the text file as needed. When the
customer bails you can get rid of the text file.

Now, this is really the long way around the bend, it is server intensive
(you must keep track of the hidden form ID and the associated server side
text file, and read from or write to the file as the customer moves along).
Is this the best way? No way! But it is a way. If you get a lot of visitors
you're going to hammer your server(s), plus there is that whole opening of a
file on the server side security issue.

HTH!

Jay





More information about the thelist mailing list