Guest Posted September 22, 2005 Posted September 22, 2005 Hi, I'm a newcommer to oscommerce. Having installed and downloaded various contributions to enhance it, I think oscommerce to prity good. What I need help with, I have installed oscommerce on a shared server with limited space. Looking at the /tmp i see sessions files keep building up. Is there anyway to keep these files under control, ie delete them when a session is finished or automatically delete them after, say 5 days. Any pointers.
♥Vger Posted September 22, 2005 Posted September 22, 2005 Make the last line of both configure.php files read 'mysql' where indicated, which stores them in the database. You can then (occasionally) go to the database sessions table and delete the sessions en-bloc. Vger
Guest Posted September 22, 2005 Posted September 22, 2005 Make the last line of both configure.php files read 'mysql' where indicated, which stores them in the database. You can then (occasionally) go to the database sessions table and delete the sessions en-bloc. Vger <{POST_SNAPBACK}> when i said i'm a newcommer i also mean php. Can you show me an example
♥Vger Posted September 22, 2005 Posted September 22, 2005 includes/configure.php & admin/includes/configure.php -------------------------------------------------------------- define('STORE_SESSIONS', 'mysql'); Vger
Guest Posted September 22, 2005 Posted September 22, 2005 includes/configure.php & admin/includes/configure.php-------------------------------------------------------------- define('STORE_SESSIONS', 'mysql'); Vger <{POST_SNAPBACK}> one final question the reference to 'mysql', is this the name of the mysql database or a general term.
Guest Posted September 22, 2005 Posted September 22, 2005 one final question the reference to 'mysql', is this the name of the mysql database or a general term. <{POST_SNAPBACK}> also, forgot to mention, would the use of define('STORE_SESSIONS', 'mysql'); inflate the mysql database.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.