| 
 Posted by dspohn on 10/19/05 22:45 
I am currently developing a shopping cart application. When a user is 
not logged into the system and they add something to their cart, it is 
stored in the database with their session id (so that their items can 
be kept while they are not logged in). If user is logged in, it just 
stores their items with their unique customer id. 
 
I want to be able to clear out the baskets of sessions that are no 
longer active (expired). I will write a cron job to do this. 
 
My question is: 
If a have an actual session id is there a way to see if it is still an 
active session?
 
  
Navigation:
[Reply to this message] 
 |