You are here: Re: What is it called ??? « All PHP « IT news, forums, messages
Re: What is it called ???

Posted by Christoph Burschka on 11/16/06 08:16

Michael Fesser schrieb:
> .oO(petersprc@gmail.com)
>
>
>>You can do this by checking the referrer. For example:
>>[...]
>
>
> Then some people will never be able to use the site.

Indeed. It is possible to suppress the sending of the referrer in the
settings of most browsers to ensure better privacy. I don't bother, but
I know some people who do this.

As with Javascript and Internet Explorers "enhancements", it is good
practice to ensure your site does not depend on a certain browser or a
certain setting to be enabled.

If you absolutely need to do this redirect, perhaps use a cookie as a
fall-back method (or only a cookie, period).

The difference is that unlike the referrer check, the browser will
*notice* that you are trying to transmit a cookie and will prompt the
user if they don't accept cookies automatically. The referrer check will
silently succeed or silently fail without the user having a clue what is
wrong.

 

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

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