Re: manual vs. meta refresh
| From: | Geoff Nicol | Date: | Sun, 12 Aug 2007 01:26:05 +0000 |
| Subject: | Re: manual vs. meta refresh | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260718@lists.php.net to get a copy of this message | ||
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?
>
>