![]() |
Sessions in database - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Sessions in database (/showthread.php?tid=2951) |
Sessions in database - El Forum - 09-01-2007 [eluser]feri_soft[/eluser] Whats the reason for putting sessions in the database when the ip is not checked and it couldnt be as there are dynamic ips. If someone changes his session value in the cookie and has the same user_agent data as the real owner of that session id? How the validation is actually done. It seems a bit unusable. Can you explain please? Thanks! Sessions in database - El Forum - 09-01-2007 [eluser]alpar[/eluser] If you don't want him to edit the session values, you encrypt the cookie. Storing session in the database helps prevent session hijacking. With this technique one can use somebody else session, claiming hes identity. |