View Single Post

  #19 (permalink)  
Old 05-11-2008
Jerry Stuckle
 
Posts: n/a
Default Re: How to detect user leaving site?

sebastian wrote:
> I'll need to do some more testing, but just running a quick
> preliminary test I found the Referer header never contained anything
> *unless* the user was navigating within the site. Could be the
> firewall? Anyway, this is just as well - as long as it doesn't point
> to our site then I'll display the greeting. Thanks again everyone.
>
> Cheers,
> - Sebastian
>


On YOUR system, with your browser and your firewall. Other combinations
work differently.

HTTP_REFERER should NEVER bet trusted.

The bottom line is - whether you want to believe it or not, HTTP is a
stateless protocol. There is no way you can reliably tell if someone
has left and returned to your site.

Others have told you that, also. It's time you to understand it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Reply With Quote