> > > $session{'time'} = time(); ## this updates 'time' record > > > > But it doesn't update the time column in the database unless you hacked > > the Apache::Session code to do that. > > > > now i don't know why the time record gets updated. isn't it suppose to update the one in > a_session?
I guess 'time' field gets updated because of it is 'timestamp' type, isn't it? MySQL has this type for automatically updated field with current date and time (RTFM :)). Best wishes, Anton Permyakov. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html