in reply to Age of CGI sessions?

well, you've got to find the date in the database somehow. Parsing out the timestamp is annoying, indeed. The way I would probably do it would be to have another field in the database of type datetime, and every time the session updates something it sets that field to now(). That way you can easily delete from tablename where.

If changing what goes into the database is not an option, then you're probably stuck parsing out the date... unless you do something like create temp files on disk holding (or named after) the values of the primary key of your table.

LAI

__END__