Hi again,
I currently have a problem with cookies created by cherrypy.
Looks like
any string value stored in a cherrypy cookie is
"encoded" with double
quotes as part of the cookie value.
Example:
(Pdb) p cookie['cookie_email'].__dict__
{'coded_value': '"xxx fluxent.com"',
'value': 'xxx fluxent.com', 'key':
'cookie_email'}
The coded vale seems the be the one I find in the cookie.
I am wedging cherrypy code between old PHP pieces, so the
cookies have
to be compatible between PHP and cherrypy, or I am up the
creek.
My PHP system sees the cookie like this:
ARGH! Bad email passed: "xxx fluxent.com"
How do I ask cherrypy to stop encoding my cookie string
value, so PHP
will accept it?
many thank yous in advance,
Gloria
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|