Hi ...
I am a total php newbie.
As clients move about my site they may cause entries in a temporary sql table that includes a field for their session id. If they leave the site by logging out properly, the rows in the table associated with their session are deleted. However, if they simply abandon the site, the table isn't purged.
I would like to be able to clean up the table regularly using a cron, but I don't know how to identify which sessions listed in the table are live, and which are older abandoned sessions. I'm worried about deleting data in live sessions.
Any ideas please .....