Date: 11/10/00
- Next message: CESBRON S.: "[PHP-DB] HOw to generate temp file in PHP ?"
- Previous message: CC Zona: "Re: [PHP-DB] Can a recordset be passed as an argument?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
First of all, I'm using PHP 4.03pl on a WIN 2000 running IIS 5.0. PHP is
plugged in as ISAPI.
I've got an active session that I want to destroy.
When I make session_destroy(), I get the following :
Warning: Session object destruction failed in D:\xxx\menu.php on line 7
I checked if the session was active. Here's my PHP code : (at the top of a
PHP page, the session is created in another page)
<?
session_start();
if(session_is_registered("ID"))
{ echo "La session existe et ID =$ID";
// session_unregister("ID");
// session_unregister("LOGIN");
session_destroy();
echo "<br>";
}
?>
and here's what I get at running time :
La session existe et ID =154
Warning: Session object destruction failed in D:\Sites
WEB\ESCNA\Php\CVtheque\menu.php on line 7
(I got the same with the above commented lines, uncommented).
I don't understand what happens.
Any suggestions will be greatly welcome.
Thanks
Stéphane
PS : I also try to open a session and to close it in a separate specific
file with <? session_destroy(); ?>
at the top of the file.
I got the following warning :
Warning: Trying to destroy uninitialized session in D:\xxx\essai.php on line 1
Stéphane Cesbron
Chargé du développement Internet/Intranet
AUDENCIA - Nantes.Ecole de Management
8 route de la Jonelière
B.P. 31222
44312 Nantes Cedex 3
Tél : 02.40.37.34.47
http ://www.audencia.com
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: CESBRON S.: "[PHP-DB] HOw to generate temp file in PHP ?"
- Previous message: CC Zona: "Re: [PHP-DB] Can a recordset be passed as an argument?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

