[phplib] ending sessions - session.inc error From: Josh Udall (jaudall <email protected>)
Date: 08/25/00

These are some general novice questions. Thanks for any help.

I'd like to end everything about a session. I have a logout page much like the
demo one. These are the last 3 lines of my code.

require ("footer.html");
$auth->logout();
$sess->delete();
?

Warning: Oops, php3_SetCookie called after header has been sent in
session.inc on line 157.

Before I modified anything in session.inc, I thought I'd ask if there something
I'm missing? I'm linking to the logout page using: $sess->purl("logout.php3");

My ISP has PHP 3.0.7 installed. (apache w/ mod_php)

Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>