[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
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\acomp_www\system\libraries\Exceptions.php:166)
Filename: codeigniter/Common.php
Line Number: 360
Wich is the best way to clean the cookies with the session library?
Best Regards,