-2

Possible Duplicate:
Get referrer URL - visitors coming from Paypal (HTTPS)

i'm trying to track my visitors, i'm using with $_SERVER[HTTP_REFERER],

i have some problem, when users come from https refferal the $_SERVER[HTTP_REFERER] disappear In iOS 6.

in this case, how can i know if user come from refferer or direct, is there another way to know if users come directly ?

Community
  • 1
  • 1
motioz
  • 652
  • 2
  • 11
  • 21

1 Answers1

3

If the client does not send a referer header there is no way to know from where he comes.

However, you can determine if the user was on your site before by setting a cookie containing a timestamp and checking if that cookie already exists and how old the timestamp in it is.

ThiefMaster
  • 298,938
  • 77
  • 579
  • 623