Hi,

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 :)


Nick

-------------------------------------------------------------------------
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

Reply via email to