Re: manual vs. meta refresh
| From: | Richard Lynch | Date: | Sun, 12 Aug 2007 03:11:58 +0000 |
| Subject: | Re: manual vs. meta refresh | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260722@lists.php.net to get a copy of this message | ||
You don't do it there.
You do whatever it is you have to do in the URL before you re-direct.
Though I guess if you want different output on that page, you would
need to set something somewhere, be it session, database, or a cookie.
On Sat, August 11, 2007 8:25 pm, Geoff Nicol wrote:
> And if they do a manual refresh on the page you re-directed to, the
> "was_meta_refresh_before" flag will be set.
> How will you tell it from a meta-refresh redirect?
>
> You need to use a cookie or session id. Regardless, by reading the
> whole
> thread and 'cheating off the other students' this has been pretty beat
> to
> death.
>
> On 8/11/07, Richard Lynch <ceo@l-i-e.com> wrote:
>>
>> On Fri, August 10, 2007 6:51 pm, Geoff Nicol wrote:
>> > That was my first thought as well but you will still have to use a
>> > session
>> > variable or cookie for the page following redirect to know it was
>> a
>> > meta-refresh.
>>
>> No.
>>
>> For the page following, you can use some other GET parameter, such
>> as
>> "was_meta_refresh_before"
>>
>> So long as you are not using the same GET parameter, you can bounce
>> back and forth all day.
>>
>> --
>> Some people have a "gift" link here.
>> Know what I want?
>> I want you to buy a CD from some indie artist.
>> http://cdbaby.com/browse/from/lynch
>> Yeah, I get a buck. So?
>>
>>
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?