Results 1 to 2 of 2
Thread: session destroy error
Jul 22, 2007, 07:58 #1
- Join Date
- Feb 2006
- 0 Post(s)
- 0 Thread(s)
session destroy error
When I start a session and then destroy it i get the following error:
Warning: session_destroy(): Session object destruction failed in **** line **
The problem is that when I have
I get that error but when session_regenerate_id(); is commented the error does not appear. I have googled this error and found out that it has been fixed in later php version as on php 5.2.0 i do not get the error but in 5.1.2 i do, funny enough in 4.6.0 i dont get the error to. Anyone with any ideas on how i can get the problem to not persist in 5.2.1?
I have used $_SESSION = array() and the unset feature. I use all three to make sure the sesion is destroyed.
Jul 22, 2007, 08:20 #2
Looks like a bug, so there's no reason to think it's gonna reappear in later versions.Saul