FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Not show resubmit form data





Peterssidan
I'm not sure if this can be solved by php or html or both but my question is: When I submit a form in firefox and if I go to that page using back or forward buttons in the browser it ask me if I want to send the form data again. Is there a way so this not show up?

I don't want to use Javascript to submit the data. Does anyone have any idea?
mathiaus
not with posted data. You could change your forms action to get but it's not as nice.
AOP Web Development
I guess that is the behaviour of most browsers. if you wish not to do that... once you submit the data and insert it to db you can set redirection... to the same page... in order for you to avoid to the post data.
manav
i guess redirecting is a nice option...

else give a condition tht if the data is re submitted then the value of the form input boxes should be
null

i guess caching the page to a date in the past can also solve ur problem....
Related topics
Remember form Data HTML
Java tutorials
Have you used CuteNews???
image upload, and return url to image
Do you believe in Alternative Medicine?
Need help with submitting form
Need Expert help in php-mysql
Login System Tutorial Part 1 Creating Registration
Automaticly Submit Post Data. 20 fri$ up for grabs.
Best Upload
upload form
retain form data
POST a form in the Same page
Sending Form Data to E-mail
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.