Date: 11/25/00
- Next message: rquinn <email protected>: "[phplib] Digital unterschriebene E-Mail von FreeMail / Digitally signed email from FreeMail"
- Previous message: Holger Blasum: "Re: [phplib] the lost $_PHPLIB["libdir"]-variable"
- Next in thread: Holger Blasum: "Re: [phplib] error with $sess->delete()"
- Reply: Holger Blasum: "Re: [phplib] error with $sess->delete()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Why I got the following error when using $sess->delete() to remove all the
session variables.
Warning: Cannot add header information - headers already sent by (output
started at
/usr/local/apache/htdocs/tfq/test/login.php:12) in session.inc on line 158
login.php:
<?php
page_open(array("sess" => "TFQ_Session",
"auth" => "TFQ_Auth",
"perm" => "TFQ_Perm"));
?>
<html>
This is a protected page.
<p>
<a href="protect1.php">protect1</a>
</html>
<?
$sess->delete();
page_close();
?>
-Ken
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: rquinn <email protected>: "[phplib] Digital unterschriebene E-Mail von FreeMail / Digitally signed email from FreeMail"
- Previous message: Holger Blasum: "Re: [phplib] the lost $_PHPLIB["libdir"]-variable"
- Next in thread: Holger Blasum: "Re: [phplib] error with $sess->delete()"
- Reply: Holger Blasum: "Re: [phplib] error with $sess->delete()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

