Session/Encryption - 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: Session/Encryption (/showthread.php?tid=44472) |
Session/Encryption - El Forum - 08-15-2011 [eluser]terry101[/eluser] i have been creating a login recently and i'm at the part where i have to create a session where its encrypted and a cookie is set. To be safe i wanted to store the session id in my database and do a match each time the session comes up to validate if a new session should be created or not. I am confused on how to do most of these functions. i have tried but i'm not sure if i have dont it correctly. i got up to creating a session where it gets encrypted but i'm stuck on if the session was successful or not. I'm also lost on how to produce a session id. Assistance needed. Code: if ($this->form_validation->run() == FALSE) { |