If you are on GAE, couldn't sesions be stored in the memcache.That way you would never have the trouble of clearing anything.
On Wed, Sep 29, 2010 at 2:17 PM, Jason Brower <encomp...@gmail.com> wrote: > I think there is a way to save the sessions to a database. It's in the > book if I am not mistaken. > BR, > Jason Brower > > > On 09/29/2010 09:56 AM, hywang wrote: > >> when some one visits my site , a new session file will be created. >> Then there is a risk : if somebody connects to my site with lots of >> robots again and again, hundreds of session files will be generated in >> seconds, deleting session files periodically has no use at all . >> >> "session.forget()" prevents user login, so I can not do this. >> >> How can I solve this ? >> >> thank you. >> >> > >