FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a 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....
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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