Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how long does the cookie session last


Guest

Recommended Posts

If you store sessions in files inside a 'tmp' folder then they don't expire, and you need to go and delete the sessions.

 

If you store sessions in the database then the database carries out a 'garbage collection' 24 minutes after the last click by a customer and deletes the session from the database.

 

Vger

Link to comment
Share on other sites

you could use the ini_set to modify the session.gc_maxlifetime

 

And you can also do that with a meta tag refresh like

<meta http-equiv="refresh" content="1000">

 

look in the catalog\includes\functions\sessions.php beginning of the file

Link to comment
Share on other sites

you could use the ini_set to modify the session.gc_maxlifetime

 

And you can also do that with a meta tag refresh like

<meta http-equiv="refresh" content="1000">

 

look in the catalog\includes\functions\sessions.php beginning of the file

 

believe you second suggestion was meant as a joke yes?

Treasurer MFC

Link to comment
Share on other sites

which one, the refresh delay? or the sessions.php you're talking about? Depends really how you setup your sessions doesn't it? Take into account that some stores have moded the session functions of osc.

Link to comment
Share on other sites

which one, the refresh delay? or the sessions.php you're talking about? Depends really how you setup your sessions doesn't it? Take into account that some stores have moded the session functions of osc.

 

I mean auto refreshing your pages to keep the session alive, you got to be kidding.

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...