This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

post-redirect-get-problem

 
Adewale Adebusoye
Ranch Hand
Posts: 118
  • 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
  • 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
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic