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

Hi Chris,

It turned out that my original idea didn't quite work in practice,
and then I found that webware already includes the feature I needed.

In

http://svn.w4py.org/Webware/trunk/WebKit/Application.py

Application.__init__ uses a setting called SessionName
to control the name of the session for each application.
Setting SessionName differently for my two applications
solved the problem.

The only improvement I can think of would be to add a commented
out SessionName directive to the default Application config. I
only found out it existed by reading the code :)

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