Home » Authentication » LiveUser » Bug #8339
Disconnect Fails
Details
| Submitted | 2006-08-01 17:44 UTC |
|---|---|
| From | michael at apison dot com |
| Status | No Feedback |
| Package | LiveUser |
| PHP Version | 5.1.4 |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2006-08-01 17:44 UTC] michael at apison dot com
Description:
------------
Hi there,
I'm having a rather annoying problem with the Liveuser disconnect() method. In my configuration, I am supplying a direct dbc object, and not using dsn (MDB2):
'storage' => array(
'dbc' => $db,
....
When running the disconnect method, nothing happens in the auth and perm storage container (ie the user last access time is not updated, so session idle can never be calculated). This is because of the following check:
if ($this->dsn) {
....
(line 277 of LiveUser_Auth_MDB2)
$this->dsn is always false, because I am not using a dsn for connecting.
Maybe the check should see if $this->dbc is an object and leave it just at that?
Thanks,
mike