[mod_python] session.last_accessed() ?

John Mudd mudd at vex.net
Wed Mar 31 13:39:05 EST 2004


I think I'll just put store a time stamp of my own with each session
just before I execute session.save().

John


On Wed, 2004-03-31 at 13:28, Michael S. Fischer wrote:
> Just get the mtime of the backing store file.
> 
> --Michael 
> 
> > -----Original Message-----
> > From: mod_python-bounces at modpython.org 
> > [mailto:mod_python-bounces at modpython.org] On Behalf Of John Mudd
> > Sent: Wednesday, March 31, 2004 10:00 AM
> > To: mpMailList
> > Subject: [mod_python] session.last_accessed() ?
> > 
> > What good is session.last_accessed() ?  
> > 
> > It seems to return the time that I created the session object 
> > or last read it from disk.  Which tells me nothing of interest. 
> > 
> > I'd like to how long since the session was previously (if 
> > ever) saved to disk.  Is there a way to get that?
> > 
> > John
> > 
> > _______________________________________________
> > Mod_python mailing list
> > Mod_python at modpython.org
> > http://mailman.modpython.org/mailman/listinfo/mod_python
> > 
> > 
> > 



More information about the Mod_python mailing list