First, you should identify what is causing the errors and catch them so they don't generate error tickets.
Regarding sessions, if you can identify the bad requests, just be sure not to write anything to the session when those requests come in, and no session file will be created (you can also call session.forget() if necessary). Anthony On Sunday, October 7, 2018 at 9:38:15 AM UTC-4, Nicolas Hiblot wrote: > > Hello All, > > I'm facing a big "size" problem in web2py Application. > I Have a web2py Application linked with another software. > Sometimes, this "third party" software send bad requests to web2py > application and Errors or sessions directories grow up. > My application is on a small partition. > so sometimes, Errors or sessions applications are full and my partition > too. > So my web2py application cannot be launched. > > Is there a simple way to prevent sessions and Errors from filling for > nothing ? > > Regards > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

