2

We have a requirement to identify the homepage setting of a visitor's browser when he visits our site. Is this even possible?

I need this functionality for something similar to "Come here often? Make Google your homepage". How do you propose we do it? Using cookies? How can a cookie tell me that my site is the home page or not?

ЯegDwight
  • 24,821
  • 10
  • 45
  • 52
Pykih
  • 2,769
  • 3
  • 29
  • 38
  • 4
    Wow, I sure hope it isn't possible. What a terrible invasion of privacy. – Michael Berkowski Aug 30 '12 at 19:20
  • I don't think so.. that would be a security issue for certain. You might be able to pull it off client side. – carny666 Aug 30 '12 at 19:21
  • 3
    Pointy haired boss requesting it? – InternetSeriousBusiness Aug 30 '12 at 19:21
  • See http://stackoverflow.com/q/1369450/334121. – anxiety Aug 30 '12 at 19:21
  • 1
    Google does it, don't they? When you don't have Google set as your homepage, they sometimes put a little message at the top that says something like "Come here often? Make Google your homepage." How do they do it if it isn't possible? – Travesty3 Aug 30 '12 at 19:23
  • 1
    @Travesty3: They detect the *absence* of their own Google cookie. – Robert Harvey Aug 30 '12 at 19:27
  • @RobertHarvey: Ah, so you can't really tell what their homepage is, but you can sort of tell whether or not it's you. Thanks for solving that little mystery for me. Makes sense as to why I can't get that message to come back up now by changing my homepage to someone else. The cookie is still there because it was my homepage before. – Travesty3 Aug 30 '12 at 19:29
  • @anxiety Thank you. The methods listed in that link did not work. – Pykih Aug 31 '12 at 03:54
  • I need this functionality for something similar to - "Come here often? Make Google your homepage". How do you propose we do it? Using Cookies? How can a cookie tell me that my site is home page or not. – Pykih Aug 31 '12 at 03:55

2 Answers2

1

You can't do this. It's too intrusive.

On a side note, may I ask why you are doing it?

Paul Fleming
  • 24,238
  • 8
  • 76
  • 113
0

No, that's is not possible. That would be an intrusion of privacy.

SuPotter
  • 762
  • 1
  • 8
  • 16