• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Context Fragment and Session Problem

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
anyone?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic