Re: What can cause session_destroy to fail?
| From: | Jim Lucas | Date: | Tue, 12 Jun 2007 15:12:11 +0000 |
| Subject: | Re: What can cause session_destroy to fail? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256718@lists.php.net to get a copy of this message | ||
Mattias Thorslund wrote:
Jim Lucas wrote:maybe the fact that the session was never started in the first place first off, define "failed". Does it give a fatal error, return false, etc... ?? -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William ShakespeareMattias Thorslund wrote: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. MattiasHi, 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. MattiasThe 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?