Re: What can cause session_destroy to fail?
| From: | Mattias Thorslund | Date: | Tue, 12 Jun 2007 14:45:24 +0000 |
| Subject: | Re: What can cause session_destroy to fail? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256715@lists.php.net to get a copy of this message | ||
Jim Lucas wrote:
> Mattias Thorslund wrote:
>> Hi,
>>
>> One of my clients just received a PHP warning that session_destroy()
>> failed. Using the default session handler (with tmp files), what are the
>> most likely things that can cause session_destroy() to return false?
>>
>> Thanks for any suggestions.
>>
>> Mattias
>>
> The session was never initiated on that page with session_start() ??
>
> on this page
>
> http://us.php.net/manual/en/function.session-destroy.php
>
> the first couple comments talk about different ways that the
> session_destroy() function call mail fail? Any sound close?
I read that too, but (as I read it) it talks about what the function
does, and what you must do to to kill the session properly. But I can't
see what might actually cause the function to return false.
Mattias