[web2py] Samesite attribute in cookies

2020-07-31 Thread agent tresdev
I have this warning in the Firefox console: Cookie “session_id_app_name” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTT

[web2py] Re: Samesite attribute in cookies

2020-08-08 Thread agent tresdev
Excellent and thanks for your answer, i didn't know where to search in the code On Saturday, August 8, 2020 at 3:14:36 AM UTC-5 Jose C wrote: > What version of web2py are you using? At least from 2.18.5+ it > specifically defaults to samesite Lax (and you would have to call > session.samesit

Re: [web2py] Re: Streaming pdf in a browser

2020-09-24 Thread agent tresdev
You could show the pdf in a frame o open it a new tab (depends of the use case) On Thursday, September 24, 2020 at 11:13:53 AM UTC-5 lcham...@gmail.com wrote: > Thank you > note my controller has to return several data too > the page html displayed by this controllers displays pics , link to pd

[web2py] Re: SQLFLORMGRID

2020-10-02 Thread agent tresdev
>From the documentation : "onvalidation, onfailure, oncreate, onupdate and ondelete are callback functions. All but ondelete take a form object as input, ondelete takes the table and the record id.