No session file should be created unless something is actually written to the session. Are you explicitly writing something to the session anywhere during these requests, or running any code that writes to the session (e.g., processing a form)?
Anthony On Saturday, September 26, 2015 at 4:47:11 PM UTC-4, icodk 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/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.