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 setting the browser_id_manager to "Cookies then form" should (somehow) do 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 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 way parse the response just before it heads back to the client and append a "?_ZopeId=asdf" all href attributes? I suppose one way would be to make sure every ZPT and python script checks the request for _ZopeID and, if found, sticks it into the response. Thanks. Mark