Detecting active sessions - Classic ASP

S

Si

Hi there.

I am developing a shopping cart that writes shopping basket contents to
a temp DB with a temp reference of the sessionID to identify the 'owner'
of the basket.

My question is, when I come to carry out any future updates, what is the
best way of checking to see if anyone has an active basket. Is it simply
a case of checking to see if I am the only active session on the server
then allowing the switch into 'test or update' mode? or seeing if the
time/date of the latest basket entry is within the 'timeout'?

Want I want, is to prevent any loss of basket contents or session ID
data and so cause user frustration and a lost sale.

Any pointers much appreciated, am I barking up the wrong tree?

TIA

Si
 

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

Forum statistics

Threads
474,160
Messages
2,570,889
Members
47,421
Latest member
StacyTaver

Latest Threads

Top