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