![]() |
How to destroy a session? - 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: How to destroy a session? (/showthread.php?tid=27817) |
How to destroy a session? - El Forum - 02-21-2010 [eluser]Sinclair[/eluser] Hi, I have a multipage form that uses sessions to store some variables. My problem... If I run the form one time and then repeat without clean the cookies, gives me some errors... so I think to destroy the session after the form process is complete. But if I try to kill the session with $this->session->sess_destroy(); I got this error: Code: A PHP Error was encountered Wich is the best way to clean the cookies with the session library? Best Regards, How to destroy a session? - El Forum - 02-21-2010 [eluser]Sinclair[/eluser] Removed the destroy session from the controler to take errors out... I have found that it works great in Fire Fox, but not in Internet Explorer. In Internet Explorer only works great if I delete the cookies after each form submission. Any clue? How to destroy a session? - El Forum - 02-21-2010 [eluser]Sinclair[/eluser] Stange thing this IE... In my URL I have a folder with an underscore(_). If I remove the underscore, it works. ![]() Best Regards, |