• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Context Fragment and Session Problem

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 (FF IE) 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.

All that I have seen on the net just seems to say set it to false and it will work I havent seen any one have issues with it...

Does anyone know any issues that could cause this behaviour?
Or perhaps somewhere to look within my Application or the Internet to find an answer?
[ May 15, 2006: Message edited by: Kendall White ]
Kendall White
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
    Bookmark Topic Watch Topic
  • New Topic