After you successfully process a POST request, you can use a redirect to
send the user back to the orginal page.

On Wed, Sep 14, 2011 at 4:24 AM, Tom Evans <[email protected]> wrote:

> On Wed, Sep 14, 2011 at 8:12 AM, mohammed safeer.mtp
> <[email protected]> wrote:
> > if a user hits “Refresh” on a page that was loaded via POST, that request
> is
> > be repeated.
> > is there any remedy for this problem??
> >
>
> Yes, don't load the page via POST.
>
> POST requests are meant to be used for data modifying requests, which
> is why all user agents prompt you whether you really want to resubmit
> the request. GET requests are not meant to be used for data modifying
> requests, which is why they don't prompt you.
>
> Cheers
>
> Tom
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to