Topic: Logout with example1.php does not work (Read 363 times)
I crack Photoshop!
Posts: 3
22 credits Members referred : 0
« on: Feb 25, 2008, 11:39:58 AM »
Hi all,
I'm testing phpUserClass. I've set up the db-table and made the changes in access.class.php Then I created an account with example2.php Afterwards I logged in at example1.php All works well. But when I now try to logout nothing happens.
Is this a known prob? What could be my mistake? Is it a problem with the cookie? I didn't check the "remember me" box.
Thanks a lot, Tobi
I crack Photoshop!
Posts: 3
22 credits Members referred : 0
« Reply #1 on: Feb 25, 2008, 11:47:44 AM »
To answer myself
changed: var $remTime = 2592000;//One month to: var $remTime = 1;//2592000;//One month
That was, why the logut failed. Don't know if this was ok
Best regards, DerTobi
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 7824
39879 credits Members referred : 3
« Reply #2 on: Feb 25, 2008, 01:56:48 PM »
Hi DerTobi,
Are you using the latest version of the class? (0.91)
We have fixed that problem in the previous release.
I crack Photoshop!
Posts: 3
22 credits Members referred : 0
« Reply #3 on: Feb 26, 2008, 01:53:39 PM »
Hi Nikolas, yes I'm using 0.91 (@version $Id: access.class.php,v 0.91 2007/11/09 10:54:32) and I see, that the problem still occurs, when I tell example1.php to "Remember me?". Then I cant "logout" again, until I delete the cookie in my browser for my own.
My php -v is:
Code:
PHP 5.2.5-0.dotdeb.0 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 12 2007 19:09:20) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies