[imp] adodb mysql sessions?

Peter Ip ip@ariel.utcc.utoronto.ca
Tue, 23 Apr 2002 11:32:33 -0400 (EDT)


Has anyone gotten sessions to work with mysql using adodb with IMP 3.1RC1?

I know that sessions are working. The counter in test.php increments. A
little test script also works. But with IMP 3.1, I keep on getting
"session expired" when I try to log in. After trying once, the mysql table
has an entry like:

+----------------------------------+------------+------+
| SESSKEY                          | EXPIRY     | DATA |
+----------------------------------+------------+------+
| 6637fcce93e2c1965127080678d32ba0 | 1019574284 |      |
+----------------------------------+------------+------+

i.e. nothing in the DATA field. If I manually delete the entry, then I can
login fine.

The mysql log says:

  UPDATE sessions SET expiry=1019576172,data='' WHERE
sesskey='6637fcce93e2c1965127080678d32ba0'
  INSERT INTO sessions(sesskey,expiry,data) VALUES
('6637fcce93e2c1965127080678d32ba0',1019576172,'')

I'm running on Solaris 2.6, Apache 1.3.12, IMP 3.1 RC1, Horde 2.1.


Peter

_____________________________________________________
Peter Ip, PhD
Computing and Network Services, University of Toronto
email: peter.ip@utoronto.ca