- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "John Wells" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, May 05, 2006 3:27 AM
Subject: Re: [PHP] Avoiding user refresh of pages with forms
On Thu, May 4, 2006 6:37 am, John Wells w
On Thu, May 4, 2006 6:37 am, John Wells wrote:
> On 5/3/06, Satyam <[EMAIL PROTECTED]> wrote:
>> I used that method initially, some months ago, but finally dropped
>> it. It
>> looked nice at first, but then I started getting into problems and
>> required
>> too many special cases to make it work.
- Original Message -
From: "John Wells" <[EMAIL PROTECTED]>
On 5/3/06, Satyam <[EMAIL PROTECTED]> wrote:
I used that method initially, some months ago, but finally dropped it. It
looked nice at first, but then I started getting into problems and
required
too many special cases to mak
Also, with regards to sending success/failure messages across the
redirection of your forms, I'd recommend considering sessions for
passing the data. It keeps your URLs clean, and allows you to send
complex data a bit easier (IMHO). For example if a user makes an
error on a few different form el
On 5/3/06, Satyam <[EMAIL PROTECTED]> wrote:
I used that method initially, some months ago, but finally dropped it. It
looked nice at first, but then I started getting into problems and required
too many special cases to make it work. In the end, it wasn't a clean nor
elegant solution.
Satya
- Original Message -
From: "Rory McKinley" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 03, 2006 8:32 PM
Subject: Re: [PHP] Avoiding user refresh of pages with forms
Brad Bonkoski wrote:
Is there a way to key off of the data inserted? Like some unique value
or se
Brad Bonkoski wrote:
Is there a way to key off of the data inserted? Like some unique value
or set of values that you can do a quick lookup before you
insert/update/delete again...
Or you could venture into an AJAX style of submission keyed off of a
button click then a refresh to a 'report' pa
something interesting to note:
header('location: newpage.php');
After processing your POST request, just send them to a new page and in
that page you can display the result of the process (It can require a
bit of change in your code) but the result will be that a refresh will
refresh the resu
Jeff wrote:
Is there a way to prevent a re-posting of the form data when a user
pushes the "refresh" button on the browser?
I have a page that has a form to enter credit's or debit's to a user
account. The top of the page displays the users account history and at
the bottom is a form to add an
Jeff wrote:
Is there a way to prevent a re-posting of the form data when a user
pushes the "refresh" button on the browser?
I have a page that has a form to enter credit's or debit's to a user
account. The top of the page displays the users account history and at
the bottom is a form to add an
Is there a way to key off of the data inserted? Like some unique value
or set of values that you can do a quick lookup before you
insert/update/delete again...
Or you could venture into an AJAX style of submission keyed off of a
button click then a refresh to a 'report' page, in which case no P
Is there a way to prevent a re-posting of the form data when a user
pushes the "refresh" button on the browser?
I have a page that has a form to enter credit's or debit's to a user
account. The top of the page displays the users account history and at
the bottom is a form to add an adjustment. I
12 matches
Mail list logo