Nuxeo mailing list archives
[CPS-devel] Get cookie __ac from a python script
JoseLuis de la Rosa Triviño
joseluis.rosa at iavantefundacion.com
Wed Jul 5 12:43:57 CEST 2006
Hi,
I need to get the value of __ac cookie from a python script, I have tried three ways:
Context.REQUEST.cookies gives me a python dict with only the cookie _ZopeId, there's no __ac.
Context.REQUEST.response.cookies gives me an empty python dict.
Context.REQUEST.HTTP_COOKIE returns a string with both _ZopeId and __ac but I have to parse the string to get the __ac value which is a little bit dirty.
I'm sure there should be an esay way to get that cookie, may you help me?
Thank you very much.
JoseLuis de la Rosa Triviño
Técnico de Desarrollo Software
FUNDACIÓN IAVANTE
joseluis.rosa at iavantefundacion.com
Tel. 951 015 300
Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE.
This e-mail and any attachments are confidential and exclusively directed to its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060705/ca032eb8/attachment.htm
More information about the cps-devel
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.