On Dec 16, 5:57 pm, pragmatic <[EMAIL PROTECTED]> wrote:
> Anand,
> I'm not sure what you're suggesting.  I did you web.seeother but it
> does not work correctly in Firefox.  Firefox will attempt to re-post
> the form.

> Steps to repeat:
> 1.  Create a page with form on it.
> 2.  Post with the form, process it and the redirect using web.seeother
> 3.  Now with the new page simply refresh the browser (Firefox) and you
> will get a warning about re-posting the variables.
>

The behaviour you are describing will be the same (as far as I
remember) with asp / asp.net ( using Response.Redirect(url) in
asp.net).

in web.py web.redirect() sends 301 code and web.seeother() sends 302


> What I'm suggesting is a change to the API to make it work as expected
> (as expected by anyone whose used another web framework that is).
>

If someone filled in the data correctly and posted it to the server,
it is most likely that you will not show him/her the for again but a
message like: "Thanks for filling all of your details, the spam is on
its way", right? ;-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to