[Zope] Sessions: without cookies? url rewrite?

Frank Tegtmeyer fte-sub-zope@fte.to
12 Jun 2002 12:33:45 +0200


Heimo Laukkanen <huima@fountainpark.org> writes:

> At the moment it seems that without cookies the id has to be included
> in the form or links manually - since there is no mechanism to do the
> same as in php's url rewrite.

We used three methods: idUrl, idField and idRedirect in a project for
that. All of them check if the Session-Id is from Cookies or Form
variables - you have to set the preference for formvariables higher
than cookies if you want cross site sessions.

idField includes a hidden field in forms, if necessary (no cookies).
idRedirect displays "hint page" with a link to the new destination if
necessary and idUrl integrates the Session-Id in the URL if necessary.

It's a lot of work to include this in every link, every form and every
redirect :)

Regards, Frank