Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:litemage:troubleshooting:front-end-timeout-too-soon [2016/05/09 17:40]
Long Hu
litespeed_wiki:cache:litemage:troubleshooting:front-end-timeout-too-soon [2017/05/05 21:07]
Lisa Clarke
Line 1: Line 1:
 +~~NOTOC~~
 ====== Magento front-end session timing out too soon ====== ====== Magento front-end session timing out too soon ======
  
-**Problem**: Magento site is timing out soon while "Cookie Lifetime" ​in Magento configuration set to default 3600 seconds+====Problem==== 
 +The Magento site is timing out soon while **Cookie Lifetime** in Magento configuration set to default 3600 seconds.
  
-**Cause**: PHP’s session.gc_maxlifetime set to be a small number so PHP cleared the session data before Magento ​has the chance+====Cause==== 
 +PHP’s ​**session.gc_maxlifetime** was set to be a small number so PHP cleared the session data before Magento ​had the chance ​to access it.
  
-**Solution**: Set "session.gc_maxlifetime" ​in the site php.ini to a number larger than the Cookie Lifetime.+====Solution==== 
 +Set **session.gc_maxlifetime** in the site'​s ​php.ini to a number larger than the **Cookie Lifetime**.
  
-**Extend**: How to check "Cookie Lifetime" ​in Magento: ​logging ​in to Magento Admin Panel, navigate ​to System -> Configuration -> Web -> GENERAL ​Look under "Session Cookie Management" ​for "Cookie Lifetime"​. ​Make sure it is set as intended (in seconds). ​+To check **Cookie Lifetime** in Magento: ​ 
 +  -Log in to Magento Admin Panel 
 +  -Navigate ​to System -> Configuration -> Web -> GENERAL 
 +  -Look under **Session Cookie Management** for **Cookie Lifetime** 
 +  -Make sure it is set as intended (in seconds). ​
  • Admin
  • Last modified: 2017/05/05 21:07
  • by Lisa Clarke