Correct me if my rationale is not right. I read somewhere in this forum that page_close() actually re-sets your session. All I want to do is delete the user's session and auth when he or she logs out. So far, adding delete() before and after page_close() as well as commenting out page_close() and adding delete() all produce the following message:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/phplib/php/template.inc:791) in /var/www/phplib/php/session.inc on line 178
What then is the correct way of deleting a session and auth?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Correct me if my rationale is not right. I read somewhere in this forum that page_close() actually re-sets your session. All I want to do is delete the user's session and auth when he or she logs out. So far, adding delete() before and after page_close() as well as commenting out page_close() and adding delete() all produce the following message:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/phplib/php/template.inc:791) in /var/www/phplib/php/session.inc on line 178
What then is the correct way of deleting a session and auth?