Posted by Leif K-Brooks on 11/12/86 11:23
Thomas Menzel wrote:
> How do I detect, that I must redirect? (Thas the case if page 2 is not
> loaded in the IFrame. For example if a user reached page 2 through a search
> engine). Wich code do I need for the redirect?
Server-side, you could use the check the Referer (sic) header. But that
wouldn't be completely accurate.
For a more complicated but more reliable method, you could have page 1
include a random string in page 2's URL (e.g. page2.html?foo=1234) which
would cause a redirect if used during more than one request.
Navigation:
[Reply to this message]
|