Is there a way to identify (in PHP) whether the current page has been loaded via an automatic Javascipt pop-up rather than by a "real" user clicking on a link ?
It seems like the HTTP_REFERER doen't get set but then that is not conclusive proof as not all browsers set it anyway!
Thanks Richard
In case I didn't make it completely clear...
I'm trying to identify which visitors CHOSE to click through to my site rather than those that were simply presented with the page in a new window via the Javascript pop up (or pop under).
Well I don't know of any ways off hand to know if you aren't giving people a different url to use in their pop up windows. (like one with something in the query string that you could check) Failing that you could submit your page to itself with a hidden variable set by javascript looking for a parent, although thats a pretty ugly solution...
Thanks for the suggestion and I'm starting to think that's all I can do but you're right - it's not pretty!
Since it will result in a double hit on the server, I'm not too keen on that solution anyway.