As far as I understand, it is possible to detect if a user has visited a specific page on a site - you loop through the length of the history object and determine if the index of that page is listed.
What I want to know, however, is if it's possible to determine if this page was visited during the current session?
Cheers. Scot-Bot. :D
Actually, the contents of the history array (the URLs) are not available without the UniversalBrowserRead privilege. Without the UniversalBrowserRead privilege, and in browsers that don't support it, you can only use length, back(), forward(), and go() methods.
To do what you're trying to do, you could use a cookie that lasts for the length of the session of the user.
Someone suggested as much at another forum. And it was moreless what I had in mind anyway.
Cheers all the same. :)