• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI 3.1.9 session timeout issue

#11
I am having several ajax calls. Is the ajax call making the session timeout?
CI 3.x Mysql 5.x PHP 5.x
Reply

#12
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 )
Reply

#13
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.
Reply

#14
(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 ?
Reply

#15
(12-24-2018, 05:53 AM)tuhin.chowdhury08@gmail.com 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.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.