Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Sessions
#1

[eluser]Wonder Woman[/eluser]
Hi,

I currently use sessions to pass data from a form to another page and this data is quite important for this page to work accordingly.

I was just wondering how reliable it is storing these sessions into the database, I'm currently doing it this way but I'm just worried about what would happen if the user had cookies, etc turned off??

Thanks
#2

[eluser]gyo[/eluser]
Cookies are necessary to keep a session alive, since there's no persistency on the web.
This is true for any web languages/frameworks out there.

Without cookies there's no way you can determine to which session a user belongs to.

For example, even if you store userdata in the database, you'll always need a cookie to keep that data belonging to the user.




Theme © iAndrew 2016 - Forum software by © MyBB