Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Session... Expire


Recommended Posts

Hi, I've been trying to understand how the session gets expired. I'm storing session in mysql. What should I do to set the expiry time? My session does not seem to expire. Also, do I have to do the same for cookies if cookies are enabled?


I've tried setting

$SESS_LIFE = 60; (1 min)


I've tried


ini_set('session.gc_maxlifetime', 60);


Still my session never seem to expire.

Link to comment
Share on other sites


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

  • Create New...