The file isn't written out until the end of your script, and you're trying
to kill it?...

Since you haven't registered any variables nor set them, deleting the
session doesn't seem like a big deal...

What's your overall design goal here?

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Rosen <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 11, 2001 9:05 AM
Subject: Problem with session_destroy


> I have the code:
>
> <?include("con.php");
>
> session_start();
> require_once("func1.php");
>
> if (lExistUser($cusr, $cpass)==false)
> {
> if (session_id() <> "")
> {session_destroy();}
>
> }
>
> When the page loads the first time I receive error:
>
>
>
> "Warning: Session object destruction failed in main.php on line 9"
>
> but when I make "Refresh" of page, there is no error !!
>
> Can someone any ideas ?
>
> Thanks
> Rosen
>
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to