Re: [web2py] Re: Partial flush of request

2016-10-03 Thread luis . valladares
That sounds really promising, thanks a lot! i will test it ASAP and if i have any troubles i will comeback here. El lunes, 3 de octubre de 2016, 12:57:21 (UTC-4), Anthony escribió: > > On Sunday, October 2, 2016 at 11:26:11 PM UTC-4, > luis.va...@metamaxzone.com wrote: >> >> The second sounds g

Re: [web2py] Re: Partial flush of request

2016-10-03 Thread Anthony
On Sunday, October 2, 2016 at 11:26:11 PM UTC-4, luis.vallada...@metamaxzone.com wrote: > > The second sounds good to me, but i dont know really where to store it, my > front end is REST and has no database connected to it, all the info i get > its from microservices, so i need some sort of vari

Re: [web2py] Re: Partial flush of request

2016-10-02 Thread luis . valladares
The second sounds good to me, but i dont know really where to store it, my front end is REST and has no database connected to it, all the info i get its from microservices, so i need some sort of variable or environment space where to store the token when i receive it and retrieve it in the cas

Re: [web2py] Re: Partial flush of request

2016-10-02 Thread Anthony
On Sunday, October 2, 2016 at 7:52:04 AM UTC-4, Luis Valladares wrote: > > Because my application has a microservice architecture, this means there > is another app storing the token in the database and the only thing my > web2py front end does is make a http request to that microservice and > f

Re: [web2py] Re: Partial flush of request

2016-10-02 Thread Luis Valladares
Because my application has a microservice architecture, this means there is another app storing the token in the database and the only thing my web2py front end does is make a http request to that microservice and format the received data, but if during that formatting some exception is raised I lo

Re: [web2py] Re: Partial flush of request

2016-10-01 Thread Anthony
On Saturday, October 1, 2016 at 4:19:59 PM UTC-4, Luis Valladares wrote: > > They expire, when I generate a new token I store it in the database and > send to the user browser, each time the token is expired I generate a new > one, overwrite the token in the database (and because this the other t

Re: [web2py] Re: Partial flush of request

2016-10-01 Thread Luis Valladares
They expire, when I generate a new token I store it in the database and send to the user browser, each time the token is expired I generate a new one, overwrite the token in the database (and because this the other token is lost) and sent to the user. But that's not really my problem (maybe I don'

[web2py] Re: Partial flush of request

2016-10-01 Thread Anthony
On Saturday, October 1, 2016 at 9:52:18 AM UTC-4, luis.vallada...@metamaxzone.com wrote: > > Hello! > > Im creating a website with a microservices architecture, and for > authentication i'm using JWT token stored in the cookies, this tokens are > automatically renewed each 5 minutes, the basic f