[web2py] Re: web2py session disable

2016-07-29 Thread Anthony
Now fixed in master: https://github.com/web2py/web2py/commit/3bc6769e287ef282fe6a3a3be6b8d83bb3eb3104 Anthony On Saturday, July 23, 2016 at 12:04:42 PM UTC-4, Anthony wrote: > > Looks like a bug introduced a long time ago (I guess no one uses this > feature). I just submitted an issue: > https

[web2py] Re: web2py session disable

2016-07-23 Thread Anthony
Looks like a bug introduced a long time ago (I guess no one uses this feature). I just submitted an issue: https://github.com/web2py/web2py/issues/1406. Anthony On Saturday, July 23, 2016 at 10:43:21 AM UTC-4, luis.vallada...@metamaxzone.com wrote: > > Here is my ticket traceback: > > Tracebac

[web2py] Re: web2py session disable

2016-07-23 Thread luis . valladares
Here is my ticket traceback: Traceback (most recent call last): File "/usr/share/nginx/html/web2py/gluon/main.py", line 457, in wsgibase session._try_store_in_db(request, response) File "/usr/share/nginx/html/web2py/gluon/globals.py", line 1158, in _try_store_in_db self.save_session_i

[web2py] Re: web2py session disable

2016-07-22 Thread Anthony
Please show the full traceback. On Thursday, July 21, 2016 at 8:31:20 PM UTC-4, luis.vallada...@metamaxzone.com wrote: > > Thanks for your help but didnt work, im havin a ticket using (), the > ticket say something about key_session_cookie not existing in > _thread().local > > Anyone has disab

[web2py] Re: web2py session disable

2016-07-21 Thread luis . valladares
Thanks for your help but didnt work, im havin a ticket using (), the ticket say something about key_session_cookie not existing in _thread().local Anyone has disabled python sessions succesfully and can guide me how to do it? El jueves, 21 de julio de 2016, 2:57:00 (UTC-4), T.R.Rajkumar escri

[web2py] Re: web2py session disable

2016-07-20 Thread T.R.Rajkumar
it should be routes_in = (('/init', '/init', dict(web2py_disable_session= True)) no square brackets. On Friday, January 8, 2016 at 4:30:17 PM UTC+5:30, T.R.Rajkumar wrote: > > I have in my routes.py in web2py folder the following. > routes_in = ( > ('/ts2', '/web_ts2_site/home/home'), > > )

[web2py] Re: web2py session disable

2016-07-20 Thread luis . valladares
Hello! Anyone can help here? im having exactly the same issue, my route is: routes_in = [('/init', '/init', dict(web2py_disable_session=True)] and i'm getting a ticket with any route in my system but if i comment that everything start working fine. I dont use the session mechanism of web2py in

[web2py] Re: web2py session disable

2016-01-11 Thread T.R.Rajkumar
@Anthony Earlier I had this in routes.py routes_in = ( ('/ts2', '/web_ts2_site/home/home'), [('/web_ts2_site', '/web_ts2_site', dict(web2py_disable_session=True)], ) routes_out = () After your kind question I looked into the error ticket. It reported a syntax error near the square bracket.

[web2py] Re: web2py session disable

2016-01-11 Thread Anthony
Are you saying you have routes_in defined twice in your routes.py? If so, note the second overwrites the first. Also, exactly what error are you getting? Anthony On Friday, January 8, 2016 at 6:00:17 AM UTC-5, T.R.Rajkumar wrote: > > I have in my routes.py in web2py folder the following. > rout

[web2py] Re: web2py session disable

2016-01-10 Thread T.R.Rajkumar
For the question Does web2py set automatic cookies reply by Anthony was There's only the session cookie that gets set automatically (though there is one for each app, including the admin app). If you want to completely disable sessions, including sending the session cookie, you can add the follo

[web2py] Re: web2py session disable

2016-01-08 Thread Niphlod
umh. that route looks extremely weird. you need to rewrite something ( 'a' to 'b' ) if you want to use routes. On Friday, January 8, 2016 at 12:00:17 PM UTC+1, T.R.Rajkumar wrote: > > I have in my routes.py in web2py folder the following. > routes_in = ( > ('/ts2', '/web_ts2_site/home/home')