I did actually encounter that problem. However, wouldn't redirecting
properly still allow the user to resubmit the information using the back
button? I solved this problem a different way by setting and clearing
session variables on entry and exit to a series of pages.
On Fri, 2003-05-30 at 10:25, Metin Kale wrote:
> Well, if you're inserting some data into a database and the person
> refreshes the page, it would re-insert the data again into the
> database. Including the page like you did at the end wouldn't change that
> fundamental problem, hence why you'd want to have it redirect to another page.
> At 10:20 AM 5/30/2003 -0500, Grant Rutherford wrote:
> >I'm very new to PHP so somebody correct me please if this is a bad
> >I had the same problem and I ended up just including the second page at
> >the end of the first one:
> >// some stuff (output if necessary)
> >include 'nextpage.php';
> >On Fri, 2003-05-30 at 09:43, Rick Dahl wrote:
> > > The scripts I need to run before I redirect automatically send output
> > to the browser. I cannot alter these scripts. Is there a way around this?
> > >
> > > Rick
> >Grant Rutherford
> >Iders Incorporated
> >600A Clifton Street
> >Winnipeg, MB Canada R3G 2X6
> >tel: 204-779-5400 ext 36
> >fax: 204-779-5444
> >This message is intended solely for the use of the designated
> >recipient(s) and their appointed delegates, and may contain
> >confidential information. Any unauthorized disclosure,
> >copying or distribution of its contents is strictly prohibited.
> >If you have received this message in error, please destroy it
> >and advise the sender immediately by phone, email or facsimile.
> >PHP Database Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php