Hi Nick, you recently posted the following on the Webware mailing list:
> I have two webware apps running on the same domain, one on /default/ and > the other on /admin/. To avoid the session cookies from colliding, I > made a small change in HTTPResponse.py:recordSession. The line > cookie.setPath('/') > is replaced by > cookie.setPath(self._transaction.application().setting('SessionCookiePath', > '/')) > Now I can put > SessionCookiePath = '/default/' > in Application.config for the first app and > SessionCookiePath = '/admin/' > in Application.conf for the second and hey presto the sessions are > independent :) Since I want to make a new Webware release soon, I'd like to have that fixed there. My idea is to replace the above line by the following: cookie.setPath(self._transaction.request().adapterName()) This has the advantage that you don't need to configure anything. Can you give me feedback whether this would solve the problem for you? Greetings -- Chris ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel