• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to stop session cookies?

 
Sheikh Sadiruddin
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I do not want my web application to use session cookies;
For that i have added one field in jboss-web.xml file as


But this is not working. It still uses session cookies.
Any help is appreciated.
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know what that settings does. What I know is session tracking uses cookies by default. Unless cookies are disabled. And that needs to be done via the browsers settings.
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually sessions cookies can be turned off on the web container. This will prevent session cookies from being available in your web app.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your code never stores anything in a session, it won't matter anyway.

Bill
 
Sheikh Sadiruddin
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Usually sessions cookies can be turned off on the web container. This will prevent session cookies from being available in your web app.


I want to know how the session cookies can be turned off on the container.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know how the session cookies can be turned off on the container.


If you have read the servlet API, you should know the circumstances that cause session ID cookies to be created. Any configuration not covered in the API will be unique to a particular server.

What problem do you think will be solved by "turning off" session cookies??

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic