Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.16.14

Bug #3135 Bug in example1 concerning the logout
Submitted: 2005-01-08 10:03 UTC
From: flatter at interdv dot de Assigned: lsmith
Status: Closed Package: LiveUser
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 39 - 33 = ?

 
 [2005-01-08 10:03 UTC] flatter at interdv dot de
Description: ------------ [original code] function onLogout() { print 'You have been logged out'; exit(); } [should be] function postLogout() { print 'You have been logged out'; exit(); } [reason] onLogout is to be executed before e.g. destroying the session. Because of exit(), you'll see just the text, but the session will still exist. This minor bug could exist in some other examples too.

Comments

 [2005-01-09 12:42 UTC] smith at backendmedia dot com
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.