Forum

Session Destroy giv...
 
Notifications
Clear all

Session Destroy giving error

4 Posts
3 Users
0 Reactions
3,165 Views
ash
 ash
(@ashofphoenix)
Posts: 140
Active Member
Topic starter
 
[#3672]

2016-09-14 11:19:01.853 ** ERROR ** ERROR **
2016-09-14 11:19:01.862
** ERROR ** on file 'D:IntranethtdocsprojeqtormodelAudit.php' at line (219)
2016-09-14 11:19:01.871
** ERROR ***** cause = session_destroy(): Session object destruction failed

WIN7/64b - Apache 2.4 / PHP7.0 / Firefox 48.0.2 / Projeqtor 5.5.1


 
Posted : 14 Sep 2016 15H49
(@abenzakour)
Posts: 2
New Member
 

Go to this file : D:IntranethtdocsprojeqtormodelAudit.php

and replace the ( line 219 )

@session_destroy(); 

by :

 unset($_SESSION); 

 
Posted : 15 Sep 2016 13H39
(@babynus)
Posts: 14952
Member Admin
 

Hi,
Patch has been applied for test (not sure it will fix all cases).
Will be deployed in V5.5.2.
Please report if patch 5.5.2 (when available) fixes the issue in your case.


 
Posted : 16 Sep 2016 19H58
(@babynus)
Posts: 14952
Member Admin
 

@abenzakour
unset($_SESSION); is not at all equivalent to @session_destroy();
It only empties the SESSION array.
What we need here is to remove the session cookie, what is done with session_destroy(); 😉


 
Posted : 16 Sep 2016 20H01
Share:

Scroll to Top