-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan (dev101) wrote:

<snip good ideas on debugging cookie problems>

> If you can't get cookies to work then you need to give users unique links 
> (ie. embed their id in an html link) or force the users to log in.

For ideas on how to do the URL-embedded session ID stuff, take a look at
the URL related APIs of the BrowserIdManager:

  - isBrowserIdFromUrl
  - encodeUrl
  - getAutoUrlEncoding
  - setAutoUrlEncoding

The last two are probably what you want:  if set, they cause all
generated URLs to include the prefix '/{browser_id_name}/{browser_id},
which then gets picked out of the URL and stashed during traversal:
this should give you the behavior you need, assuming that all URLs are
being generated using 'absolute_url' and friends.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktCPFwACgkQ+gerLs4ltQ4m0ACgxKqJXlwAunOYYlJqrnaKsemJ
7bQAnjsbKOt6lLMd4PUe5iGniKW0MdeB
=Xxka
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to