[Zope] Problem with Cookieless Sessions on Mozilla and Netscape
Mark Bucciarelli
mark@easymailings.com
Thu, 25 Jul 2002 18:20:21 -0400
On Thursday 25 July 2002 05:05 pm, Chris McDonough wrote:
> Do you munge the URL that calls this script with the browser id by
> using the "encodeUrl" method of the browser id manager?
Hi Chris,
Thanks for your help. I wasn't using the encodeUrl method. I was hoping=
that=20
setting the browser_id_manager to "Cookies then form" should (somehow) do=
=20
this transparently, and I had to tweak some setting.
I read the encodeUrl API, and I see how that can help. Is the basic idea=
that=20
the request object needs to have a _ZopeId dictionary element defined?
Now, how can I make all my links have that suffix? For example, is there=
a=20
way parse the response just before it heads back to the client and append=
a=20
"?_ZopeId=3Dasdf" all href attributes?
I suppose one way would be to make sure every ZPT and python script check=
s the=20
request for _ZopeID and, if found, sticks it into the response.
Thanks.
Mark