CodeIgniter Forums
Memcached Session Storage Issue - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: Memcached Session Storage Issue (/showthread.php?tid=70469)



Memcached Session Storage Issue - sanknm - 04-13-2018

Severity: Warning
Message: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (localhost:11211)
Filename: Unknown
Line Number: 0
Backtrace:



My Config File :
$config['sess_driver'] = 'memcached';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 0;
$config['sess_save_path'] = 'tcp://localhost:11211';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 0;
$config['sess_regenerate_destroy'] = FALSE;




I am getting this while using rest api.
Every output is rendered with above warning.

Development Platform
Php 5.5 Standard Google App Engine.
Using Default GAE Memcache shared driver.
Codeigniter version : 3.1.6
 


RE: Memcached Session Storage Issue - InsiteFX - 04-14-2018

should be like this:

PHP Code:
$config['sess_save_path'] = 'localhost:11211'

Or

PHP Code:
$config['sess_save_path'] = 'localhost'

SEE: the CodeIgniter User's Guide - Libraries - Session.