Read about `sessions.forget()`[1] [1] http://web2py.com/books/default/chapter/29/04/the-core#session <http://web2py.com/books/default/chapter/29/04/the-core#session>
— Vinicius. > On 26 Sep 2015, at 17:47, icodk <i...@alpiron.com> wrote: > > I have many sensors that reports periodically to a web2py application. > The sensors do not need to log in, they just POST a json string to specific > controller function, get a few bytes in response and close the connection. > However each time a sensor connect, a session file is generated. This create > a lot of useless files. Otherwise the site has a standard user interface that > requires login from users. > Is it possible to avoid the session creation just for that controller > function or do I need to make a session less app that update the same > database ? > > > -- > Resources: > - http://web2py.com <http://web2py.com/> > - http://web2py.com/book <http://web2py.com/book> (Documentation) > - http://github.com/web2py/web2py <http://github.com/web2py/web2py> (Source > code) > - https://code.google.com/p/web2py/issues/list > <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 web2py+unsubscr...@googlegroups.com > <mailto:web2py+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.