[Zope] Session transferring problem

Lubos Culen mirsoft@systinet.com
Wed, 16 Apr 2003 14:19:46 +0200


Hi,

I have a page with session data transferring through the URLs, so the page
URLs in browser look like
http://www.mysite.com/_ZopeId/84525053A0xJuPCpTSI/mydir/mydocument.

Now, let's have DTML document called "content" inside the "mydocument"
folder, which contains some "static" HTML data (this data cannot be DTML,
because it needs to be editable with some WYSIWYG editor). Above these
folders is some ZPT template called index_html, which will display the
content data inside the some template.
Let's have some link in the "mydocument/content" document, which is for
example <a href="other_document">Link</a> . It is inside the content area
and it is linked *relatively*, so I suppose it should maintain the session
data (so the Zope's result URL would be
http://www.mysite.com/_ZopeId/84525053A0xJuPCpTSI/mydir/other_document ).
But the reality is bad - result URL is only
http://www.mysite.com/mydir/other_document and the session data is lost.

So, the question is, is there *any* way how to maintain URL sessions when
linking relatively inside plain content (non-DTML and non-ZPT) document in
Zope? Or, if not, how people use to solve this problem generally, when need
to transfer non-cookie session data through static <a href="..."> URLs?

Thanks for the answer,

Lubos.