[eluser]gRoberts[/eluser]
hey all,
I am struggling to find a way around a session issue I have.
I am storing a guid in a session via set_userdata and on the next page trying to clear it.
When I try calling sess_destroy or set the value to null via set_userdata I get the following error:
Code:
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at public_html/items/system/application/libraries/Smarty/Cache/%Ï^CF0^CF0B35EB%&#xma;in_header.tpl.php:9)
Filename: libraries/Session.php
Line Number: 282
FYI I am using Smarty.
I only usually see this error when I try doing a header redirect and echo at the same time.
Any idea's?