[web2py] Re: How should I handle this?

2016-04-17 Thread Leonel Câmara
add client_side=True to the redirect calls redirect("http://google.com";, client_side=True) -- 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

[web2py] Re: How should I handle this?

2016-04-17 Thread Steve Joe
if auth.user_id <1: redirect(URL('default','index'), client_side=True) Why this isn't working? On Sunday, April 17, 2016 at 3:37:31 PM UTC+5:30, Leonel Câmara wrote: > > add client_side=True to the redirect calls > > redirect("http://google.com";, client_side=True) > -- Resources: - http

[web2py] Re: How should I handle this?

2016-04-17 Thread kenny c
great tip! i have a question on passing form variables through ajax, can i pass form.vars if i want to pass all variables including 'q' inbox? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/