- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2016
07:24 AM
05-05-2016
07:24 AM
I have the next configuration in the local.xml file and after ~ 30 minutes customers auto logout.
<cache> <fast_backend>Mage_Cache_Backend_Redis</fast_backend> <fast_backend_options> <server>127.0.0.1</server> <port>6379</port> <persistent></persistent> <database>0</database> <password></password> <force_standalone>1</force_standalone> <connect_retries>1</connect_retries> <read_timeout>10</read_timeout> <automatic_cleaning_factor>0</automatic_cleaning_factor> <compress_data>1</compress_data> <compress_tags>1</compress_tags> <compress_threshold>20480</compress_threshold> <compression_lib>gzip</compression_lib> </fast_backend_options> <!-- <slow_backend>database</slow_backend> --> <slow_backend>memcached</slow_backend> <memcached> <servers> <server> <host><![CDATA[127.0.0.1]]></host> <port><![CDATA[11211]]></port> <persistent><![CDATA[1]]></persistent> </server> </servers> <compression><![CDATA[0]]></compression> <cache_dir><![CDATA[]]></cache_dir> <hashed_directory_level><![CDATA[]]></hashed_directory_level> <hashed_directory_umask><![CDATA[]]></hashed_directory_umask> <file_name_prefix><![CDATA[]]></file_name_prefix> </memcached> </cache>
If remove this part of configuration customer auto logout time increases to a few hours and more.
How to fix this configuration?
'Cookie Lifetime' is set 86400.
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2016
04:02 AM
05-07-2016
04:02 AM
this is your cache configuration not the sessions.
make sure you have php session timeout increased
check php.ini
------------
MagenX - Magento and Server optimization
MagenX - Magento and Server optimization
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2016
04:02 AM
05-07-2016
04:02 AM
this is your cache configuration not the sessions.
make sure you have php session timeout increased
check php.ini
------------
MagenX - Magento and Server optimization
MagenX - Magento and Server optimization
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2016
04:56 AM
05-10-2016
04:56 AM
Re: Redis increase auto logout time
Thanks,
I changed session.gc_maxlifetime and it helped.