changing CMF sessioning (was: Re: [Zope] hidden form fields-based identification)
Is there a simple way to configure or modify CMF so that sessions can be tracked by passing session ID's in link URLs? Also, if possible, by cookies when either a) no session is detected through a URL session ID, or b) an existing session cookie is detected? My goal here is to use cookies if they're enabled, but if they're not to use session ID's in all links / forms, and to avoid trying to place a cookie with each new page view. It would be great if I didn't have to write this code myself, but I will if I must. I know little about CMF, except when I did install it once, I abandoned it because it only used cookie authentication as far as I could tell. I also haven't worked with sessioning products very much, but I have a little. I've done a lot of session-using work in Perl, though. I'd really like to use CMF, but I need sessioning that doesn't depend solely on cookies. Thanks, Am
Hi, The current Zope trunk (aka Zope 2.6 -- but not 2.6 alpha 1) has automatic URL-based sessioning available as an option. See http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx for information on how to configure and use sessioning in Zope 2.6. You may want to try it out by doing a CVS checkout of Zope and playing with the config along with CMF... HTH, - C On Thu, 2002-09-05 at 10:35, A M Thomas wrote:
Is there a simple way to configure or modify CMF so that sessions can be tracked by passing session ID's in link URLs? Also, if possible, by cookies when either a) no session is detected through a URL session ID, or b) an existing session cookie is detected? My goal here is to use cookies if they're enabled, but if they're not to use session ID's in all links / forms, and to avoid trying to place a cookie with each new page view. It would be great if I didn't have to write this code myself, but I will if I must.
I know little about CMF, except when I did install it once, I abandoned it because it only used cookie authentication as far as I could tell. I also haven't worked with sessioning products very much, but I have a little. I've done a lot of session-using work in Perl, though.
I'd really like to use CMF, but I need sessioning that doesn't depend solely on cookies.
Thanks, Am
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
A M Thomas writes:
Is there a simple way to configure or modify CMF so that sessions can be tracked by passing session ID's in link URLs? There is a product that codes the session id in an URL segment.
I forgot its name, but there has been recent (some weeks) discussion about it. Search for "URL" and "session". Dieter
Thanks Dieter, I think I've used this product - thanks! I'm just wondering if it's worth the effort to try to find a way to customize CMF's behaviour, and what the best tack to take would be. If there's a CMF list, I'll find it and post there. Thanks, AMm Dieter Maurer wrote:
A M Thomas writes:
Is there a simple way to configure or modify CMF so that sessions can be tracked by passing session ID's in link URLs? There is a product that codes the session id in an URL segment.
I forgot its name, but there has been recent (some weeks) discussion about it. Search for "URL" and "session".
Dieter
participants (3)
-
A M Thomas -
Chris McDonough -
Dieter Maurer