Hi all,

I'm using Webware 0.7 and found that turning 'UseAutomaticPathSessions' on in the config doesn't carry over the part of the URL that is retrieved through request().extraURLPath().

I made a one-line change to Application.py at line 526:

url = request.adapterName() + '/_SID_='+ newSid + '/' + request.pathInfo() + ('' or request.extraURLPath())

This fixes that problem in 0.7, but I think that top of trunk cvs might be different. At one point, I tried to check out webware from cvs and found some oddities in the 'extraURLPath' function so I have stayed at 0.7 for now. I seem to remember that there was a new method name for getting at that information and that it did or did not return the leading slash in front of the extra url info.

Either way, using both UseAutomaticPathSessions and the req.extraURLPath method is broken in 0.7. The change above fixes it, but I'm not sure if it does post-0.7.

Thanks!
--Tracy



-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to