[eluser]Unknown[/eluser]
There are problems on storing session either on local or database on using CI.
For develop branch, CI provides two ways to store session, session_cookie (database) and session_native (local).
Since my website is ready to clustering, the session cannot be stored on local. I tried to use network drive, NFS, it seems that the result very bad, the website will sometimes hang.
Before using network drive, I tried to use database to store session by using session cookie. However, Codeigniter uses session rotation by default for security issue. Since my website does always use Ajax, the session will be destroyed due to race condition of connections result in mismatching of session id. Therefore the system will kick the login user out. I found no way to switch off the session rotation though I tune $config['sess_time_to_update'] to larger value, the problem still persists.
Any solutions to store session?