Re: [web2py] Re: Cookies and redirect

2018-08-22 Thread Carlos Correia
Às 03:28 de 22-08-2018, Anthony escreveu: > On Tuesday, August 21, 2018 at 12:37:16 PM UTC-4, Carlos Correia wrote: > > Hi, > > > Is it possible to set a cookie and redirect to another page in the same > controller? > > If yes, how? I tried this simple example but the cookie is lost

[web2py] Re: Cookies and redirect

2018-08-21 Thread Anthony
On Tuesday, August 21, 2018 at 12:37:16 PM UTC-4, Carlos Correia wrote: > > Hi, > > > Is it possible to set a cookie and redirect to another page in the same > controller? > > If yes, how? I tried this simple example but the cookie is lost if I use > the redirect... > > def cookies2(): > cook