Re: manual vs. meta refresh

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

 



On Sat, 2007-08-11 at 22:11 -0500, Richard Lynch wrote:
> 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.

I think you're missing the point Richard. Yes you can detect the meta
redirect or manual refresh using your method. But only the first can be
detected because when the page is served up to the browser again either
the special meta redirect URL is active, non special normal URL is
active, or a super special I'm redirecting but don't count me URL is
active. Now what happens when the user does a manual refresh again? It's
not about output, it's about detecting subsequent refreshes and
determining again the source of the refresh. You must have some kind of
session tracking system in place, be it a regular session or a database
query that can check if an ID was already detected that indicates to
discount the page load from any statistics.

Cheers,
Rob.
-- 
...........................................................
SwarmBuy.com - http://www.swarmbuy.com

    Leveraging the buying power of the masses!
...........................................................

-- 
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