Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Prevent expired POST results (Was: Control the window)
- From: nick at nickfitz.co.uk (Nick Fitzsimons)
- Subject: [Javascript] Prevent expired POST results (Was: Control the window)
- Date: Wed Aug 30 19:53:00 2006
On 30 Aug 2006, at 23:47, Chris Double wrote: > On 8/30/06, Scott Reynen <scott@xxxxxxxxxxxxxxx> wrote: >> I solve this problem by redirecting POST to GET. > > This is a good apprach, I do it as well. It's more generally known as > the 'Post/Redirect/Get Pattern': > > http://en.wikipedia.org/wiki/Post/Redirect/Get > And may I be the first to point out that my earlier suggestion to use HTTP's "301 moved permanently" is a really bad idea, as it would potentially prevent people from ever submitting a form to the original address again. (I really shouldn't give advice on HTTP when my head's full of XSLT and CSS.) Apologies to those who've just broken their web apps through my advice :-( Nick -- Nick Fitzsimons http://www.nickfitz.co.uk/
- References:
- [Javascript] Control the window
- From: Peter Lauri
- [Javascript] Prevent expired POST results (Was: Control the window)
- From: Scott Reynen
- [Javascript] Prevent expired POST results (Was: Control the window)
- From: Chris Double
- [Javascript] Control the window
- Prev by Date: [Javascript] Prevent expired POST results (Was: Control the window)
- Next by Date: [no subject]
- Previous by thread: [Javascript] Prevent expired POST results (Was: Control the window)
- Next by thread: [Javascript] Control the window
- Index(es):