CodeIgniter Forums

Full Version: Session Problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I was hoping someone can help me. I recently update a code base from 2.x to 3.x. Afterward, the session is not saving. After further investigation, it seems like the session_id (in cookie) is erased from the browser, thus causing all the session information to be regenerated.  The session are from an authentication module which do a lot of redirect (verify ticket/token between client/server). That library is included via a library package. Can someone be able to shed some light on why the session_id will varnish?

thanks
Session library is changed so much in ci3
The default session driver was cookie in ci2 but in ci3 default session driver is file. You should check user guide.
Did you also update the seesion database table to the new 3.+ one?