first-
add a timestamp column to your db store. you're going to need to
clean out old sessions somehow.
mysql> describe sessions;
+---+-+--+-+---+---+
| Field | Type| Null | Key | Default | Extra |
+---+--
Thanks Malcolm for the response.
Ok, so the constructor now is:
my %session;
tie %session, 'Apache::Session::MySQL', $sid, {
Handle => $_dbh,
LockHandle => $_dbh
};
$session{'stuff'} = 'is this in the database?';
untie( %session );
But still no data in the a_
On Sunday 18 December 2005 02:31 pm, Michael Greenish wrote:
> Note that I set 'stuff' immediately after the session
> is created. I would expect at this point that the
> database be updated.
That's incorrect. The database is only updated when the session is untied
(usually on going out of scop