Jump to content


Photo

PostData message


  • Please log in to reply
6 replies to this topic

#1 luiskid

luiskid
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 16 July 2006 - 08:22 AM

i have an website and i have one problem. How do I get rid of the Postdata Confrim message after I click the back button when I've done a seacrh.

#2 Joe Haley

Joe Haley
  • Members
  • PipPipPip
  • Advanced Member
  • 103 posts
  • LocationCanada, eh?

Posted 16 July 2006 - 08:26 AM

You don't.

Maybe, MAYBE with javascript. (thats out of my range of knoledge)

Browsers engrain posts to the server in the history. Cannot remove this with PHP. You could, however, use the "get" method of transmiting data as opposed to posting it.
Give a man a fish; you have fed him for today.  Teach a man to fish; and you have fed him for a lifetime
Don't teach men to program. Teach them to fish.

Please, try the RTFM solution before asking for help:
http://php.net/manual/en/index.php

#3 luiskid

luiskid
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 16 July 2006 - 01:31 PM

i realy need to get rid of this bug. any solutions?

#4 Joe Haley

Joe Haley
  • Members
  • PipPipPip
  • Advanced Member
  • 103 posts
  • LocationCanada, eh?

Posted 16 July 2006 - 03:45 PM

You could, however, use the "get" method of transmiting data as opposed to posting it.


And, its not a bug. Its a browser functionality.
Give a man a fish; you have fed him for today.  Teach a man to fish; and you have fed him for a lifetime
Don't teach men to program. Teach them to fish.

Please, try the RTFM solution before asking for help:
http://php.net/manual/en/index.php

#5 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 16 July 2006 - 04:25 PM

any solutions?


Make your own browser that doesn't do it.  It's a security feature to let you know that you are reposting information to a webpage.

Use the GET method as was posted above.

#6 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 16 July 2006 - 04:28 PM

Can someone tell me what this is about please cheers.

I dont get it?
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#7 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 16 July 2006 - 04:30 PM

Rather than have the user resort to using the back button to do another search, why dont have the search form display above the search results, a bit like google. That way it stops the user having to hit the back button to perform another search.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users