This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

post-redirect-get-problem

 
Adewale Adebusoye
Ranch Hand
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i still have a problem with the Post Redirect Get model. i went through the article by micheal jouralev called "Redirect After Post", and i tried using redirect method from my login page.
So basically, the user logs in then hes taken to a results page by lieu of the sendRedirect() method. refreshing it stops the resending of the information.
The problem is that despite putting response headers in my doPOST, i can still click the foward button on my browser and access the results page. It refuses to expire.
I also included the <meta http-equiv> tags in my web pages, but it still caches it.
So please what can i do to solve this?
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You got to use sessions along with response headers

Check this thread
 
Adewale Adebusoye
Ranch Hand
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please i hate to sound like a novice, but how can i do that?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic