You are here: Checking if session id is a current session. « PHP Programming Language « IT news, forums, messages
Checking if session id is a current session.

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация