> session.flash=str(T("OK, %s accepted." ,item))
Normalr sessions never expire. If you want then to expire you need to
implement it for example
session.connect(request,response.db=db)
if session.last and time.time()-session.last>TIME_EXPIRE:
# remove this session from GAE
# open another session
session.last=time.time()
Massimo
All I am saying is that web2py cannot do that automatically because I
do not know how you define "expiration".
web2py (on GAE) stores the last modification data in
db.web2py_session.modified_datetime. You can easily put a db
(...).delete() at the top of your code that deletes all sessions that
have expired since the last access. You just have to define what it
means for you to expire. i.e. what to put in (...)
Massimo
Massimo
Massimo
Massimo