Forum Moderators: open
However, you could check for a referer server-side and if there is no referer, then it could possibly mean that it is their homepage. Although, this would easilly give inaccurate results.
A possibly better method, would be to inbed a hidden iFrame in your page, and tell that iFrame to go to the users homepage (using home() in NN/FF and navigateHomePage() in IE). Then you could check the contents of this iFrame and see if it is your homepage.
You would have to figure out a way to stop the iFrame from loading if the page is inside an iFrame. Because if it is infact your page that loads when directed to the homepage, it would recursively send the user to home in each iFrame below.
I did find this one page with javascripts that might help you out:
[jwscripts.com...]