Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Disable cookies creation in JSF  RSS feed

 
ckaps kapsi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to stop browser to create cookies when i log in to the application(developed in JSF), even if the browser option allows to accept cookies.
is there any option stating in web,xml can solve my problem?
Thanks in advance.
 
Janeice DelVecchio
Bartender
Posts: 1810
12
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!
I think there's abetter forum for this topic.... I'll get you there now
 
ckaps kapsi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you..
Which forum are you talking about?
 
Janeice DelVecchio
Bartender
Posts: 1810
12
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread is in the JSF forum now... check out the top of the screen
 
ckaps kapsi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well thanks for that..

Now i have found the solution to the problem.
I am able to disable cookies by adding the following lines in my sun-web.xml and deploying app in Glashfish V3.



But it now again creates a different problem for me.
I am not able to maintain session by disabling cookies.

I found to add following property.

but it still doesnt maintain session.

Does anyone know the solution?

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!