perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: session records bulding up
Date Tue, 14 Jan 2003 19:49:56 GMT
>I think though, from the looks of the documentation, you have to manage the
lifespan of the sessions on the server side yourself

Yes unfortunately you have to

>One more way which is probably evil but better overall, imo, is to add a
field to the session table with the timestamp

Adding a field should work. Mysql can use a default value on insert. If you
set the default to now() mysql should automaticly insert the date and time
and you should be done

Gerald




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message