Sessions stored in database

jlmasterson <[email protected]> 1 Aug 2003 22:28:42 -0000
Newsgroups gmane.comp.web.oscommerce.suggestions
Message-ID <d0bc546922fbc4577ac7812fd6e8d2d8@osCommerce-Forums>
This message was sent from: Suggestions and Proposals
http://forums.oscommerce.com/viewtopic.php?p=205842#205842
----------------------------------------------------------------

Is there currently any support in osCommerce to store the session keys in the database instead of storing them on the filesystem (in /tmp)?

Basically our need is to "farm out" the system, placing an Alteon system (load balancer) in front of many web servers all connecting to a single or clustered database system.

The incoming web traffic would be dynamically load balanced to each server based upon connection counts and there is the possibility of web server B receiving traffic (and a session) originally going to web server A.

This presents an issue.

Also, if web server A dies, all traffic would be re-balanced across the entire farm, and thus, if the session markers were stored inside the database, customers would not lose their sessions when a system died.

This would be a major plus to those of us who have multiple web servers but have to be very careful about how we balance incoming web traffic.