CI 3.1.9 session timeout issue |
I am having several ajax calls. Is the ajax call making the session timeout?
CI 3.x Mysql 5.x PHP 5.x
For Ajax requests read this:
A note about concurrency What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Just to eliminate it as a possible source of trouble I suggest changing $config['sess_save_path'] to a string that defines an absolute path. The function sys_get_temp_dir() isn't always consistent about what it returns and doesn't add a trailing slash.
(12-21-2018, 08:34 AM)dave friend Wrote: Just to eliminate it as a possible source of trouble I suggest changing $config['sess_save_path'] to a string that defines an absolute path. The function sys_get_temp_dir() isn't always consistent about what it returns and doesn't add a trailing slash. Will it be good to save session in database rather than as files ?
(12-24-2018, 05:53 AM)[email protected] Wrote: Will it be good to save session in database rather than as files ? My opinion is that, overall, files are less resource intensive than using a database for session data. |
Welcome Guest, Not a member yet? Register Sign In |