Jump to content


This topic is now archived and is closed to further replies.


Decoding Session Variables from Flatfile

Recommended Posts

I'm at the starting point for writing a report that will show all "abandoned carts" that customers accumulate over a period of time. Customer carts are saved in mysql://dbname/customers_basket and mysql://dbname/customers_basket_attributes, but those aren't nearly all of the accumulated carts that are abandoned.


Here is a sample sessions file from /tmp/sess_*. The contents are:






Is there any location that documents this? In the source code there is very little to show the algorithmic logic for decoding this information.


thank you!

Share this post

Link to post
Share on other sites

Look in the whos_online.php file in the Administration Tool module.


A few weeks ago I added logic there to retreive specific parameters from the session file.


Be sure to check from the latest CVS version.


Or you can take a look at session_decode

:heart:, osCommerce

Share this post

Link to post
Share on other sites