You are here: Re: IFrame « HTML « IT news, forums, messages
Re: IFrame

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация