[thelist] asp carts and sessions

Jason Cartwright mail at jasoncartwright.com
Thu May 16 07:55:07 CDT 2002

> 1.By creating a session, does this give you a unique id to
> use or do i have to call a function or something to generate one?

This is automatically generated by the server. Try Session.SessionID

> 2.If the user never actually checks out, how can i remove
> the data from the db as this could build up after some time?
> (i cannnot access the server schedular to run a script each
> day to remove the data, which is what i would do)

You'll need to use the global.asa for this. Try purging the DB of a
user's info when Session_onend should do the job -

www.w3schools.com is my bible :)


More information about the thelist mailing list