Re: manual vs. meta refresh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux