On 5/13/05, Ben Parker <[EMAIL PROTECTED]> wrote: > Hi Michel, > > I ended up reimplementing Automatic Path Sessions in a Page subclass, > because I wanted to locate the session in another part of the URL, avoid > placing session ids in URLs shown to a spider, and implement some > convenience methods for accessing Extra Path Info fields. > > The attached code for ExtraPathPage runs on Webware 0.8.1 with > "ExtraPathInfo" set to 1 and "UseAutomaticPathSessions" set to 0. > > The ExtraPathPage class includes a link() function which is used to generate > internal URLs, given an absolute target and a list of fields to be passed as > Extra Path Info fields. The session id is appended at the end of the URL if > no cookie was sent. > > It may seem cumbersome to call a function to generate URLs, but it's really > no strain at all in our production environment. TabletHotels.com is using a > version of this code in production. Try browsing without cookies. > > If you (or anyone else) find this useful I can make some time to post it on > the Wiki.
I find it usefull :), I will be glad if you post it at the wiki, anyway I think the current implementation on the the svn can be fixed, I don't know if the proper action is to rewrite all the implementation or fix it redirecting only if the user doesn't have cookie support... thanks -- Michel Thadeu Sabchuk Curitiba - Brasil ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss