Re: Prevent storing data when reload
| From: | Jason Wong | Date: | Wed, 04 Dec 2002 07:33:41 +0000 |
| Subject: | Re: Prevent storing data when reload | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126955@lists.php.net to get a copy of this message | ||
On Wednesday 04 December 2002 07:39, Justin French wrote:
> > When I reload the page the data gets stored once more. I'm sure this is a
> > well known problem. Are there any smart tricks to prevent this from
> > happening?
>
> Yes, and they get discussed on this list almost daily... a quick search
> would have helped.
If only browser makers made their browsers behaved properly according to
specs. Most of these page refreshing problems occur when people use the
"BACK" button after they filled in a form (probably to see what they filled
in). In stupid browsers like IE and Mozilla it _forces_ you to repost the
data. IOW the back button doesn't really go back, to the previous state, like
what the specs say it should do.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Above all else -- sky.
*/