Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Two Forms Mistakenly Shown

 
Andy Holm
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSF application that has the following bug in it. When I successfully login in to the application through a login page (form authentication), I am sent to the first page of my application. If I hit the browswer back button, I am sent back to my login page where I can login again (even though I am already logged in). Another successful login sends me to the first page of my application, but this time the login form is appended to the bottom of the page. Any idea why? I am using a POST-redirect-GET pattern if that matters.
 
Andy Holm
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more thing... The login page is displayed via a forward.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!