Re: another redirecting question

From: Date: Fri, 30 May 2003 15:52:39 +0000
Subject: Re: another redirecting question
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-28180@lists.php.net to get a copy of this message
Hi 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. Grant 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. > > Metin > > 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 > >idea... > > > >I had the same problem and I ended up just including the second page at > >the end of the first one: > > > ><?php > >// some stuff (output if necessary) > > > >include 'nextpage.php'; > >die(); > >?> > > > >Grant > > > > > >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 > >http://www.iders.ca > >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

« previous php.db (#28180) next »