Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF session

 
suganya gayathry
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing a problem, please see the below details.

i have a search form. i am giving a search criteria and getting the search result. Now i am navigating to a different url in the same browser. again i am returning to the search form by clicking the url in the browser drop down. now i am getting the same search criteria entered previously.
 
Shivaji Byrapaneni
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if my compilation of your question is correct you are looking for something that should not use the same session values

for this as and when you are getting out of that page in the sense when navigating from that page to other try to inactivate the session which is something like clearing the session on log out

if you want your session to remain but the values that are used in the page to be cleared then go in this way

get the context object and try getting the application properties list and remove the appropriate value that you want to remove
 
Shivaji Byrapaneni
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
simply the problem can even be cleared by setting your mbean (if you are setting the values to mbean) to request scope in faces-config.xml
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic