Click to See Complete Forum and Search --> : Tomcat session issues.


Waylander
05-17-2006, 01:16 AM
I have just finished my login/session system for the Tomcat 5.5 Servlet based web application I am writing.

At the moment it works fine, it uses the cookies and works, when I disable cookies the url re-writing comes on instead, all fine.

Now, I have decided to only use url re-writing because I am not keen on my system using cookies so I have added the cookies false definition to my xml context fragment.

<Context ... cookies="false" ... />

But it just doesnt seem to work....
(baring of course some silly mistake or a code typo)

I have built a couple times and made sure that the context fragment is being used, and tested with both browsers a couple of times with cookies on and off and with all cookies cleared but it just keeps using cookies if it can, it only uses the re-writing when they are explicitly disabled by the browser.

Does anyone know any issues that could cause this behaviour?

Is there any other way to force re-writing onto the context?

Waylander.

Waylander
05-18-2006, 04:54 AM
Anyone have any ideas?