perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angus Lees <>
Subject Re: session records bulding up
Date Thu, 16 Jan 2003 08:52:29 GMT
At Tue, 14 Jan 2003 20:49:56 +0100, Gerald Richter wrote:
> >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

if i remember mysql correctly, there's a "timestamp" data type. if you
create a column with that type it will automatically have the time
that row was last modified.

 - Gus

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message