How can i set max_age=7200, secure=True, httponly=True in the openerp cookie ?
I have tried to put this attributes as follow:
if hasattr(response, 'set_cookie'):
response.set_cookie('sid', value=session.sid, max-age=7200, secure=True, httponly=True)
but always the system raise Session Expired Execption.
How can i set these parameters and what is the best way to set it on the NGINX web server or as the way i tried above. ?