Welcome Guest, Not a member yet? Register   Sign In
Session Problems
#1

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
Reply
#2

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.
          Heart  love codeigniter Heart
          Learning  best  practices
     Rate my post if you found it helpfull
Reply
#3

Did you also update the seesion database table to the new 3.+ one?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB