[pmwiki-users] UserAuth and logout

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 9 11:44:21 CST 2006


On Thu, Feb 09, 2006 at 06:01:36PM +0200, blues wrote:
> i am having a problem with UserAuth when trying to logout
> with ?action=logout, PHP returns the error:
> 
> Warning: session_destroy(): Session object destruction failed in  
> D:\...\cookbook\userauth.php on line 486
> 
> and the user is not logged out.
> 
> any idea? (using PmWiki 2.1.beta25)

Well, since it's just a warning, perhaps it's sufficient to
simply suppress the warning?  Put an '@' in front of the
call to session_destroy(), so that you have   "@session_destroy()" .

Pm




More information about the pmwiki-users mailing list