|
Context.REQUEST['__ac_name'] retuns a KeyError too. JoseLuis de la Rosa
Triviño
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.
-----Mensaje original-----
What about Context.REQUEST['__ac_name']
? 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
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.
_______________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. |
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
