PDA

View Full Version : Referrer Events


rainbowhawk
01-02-2005, 10:25 AM
I need to produce an alert for people who have come from a particular URL however I need it if the URL in question was the last but one not just the previous one.

I am webmaster for both sites so could I do this with cookies?

Rainbowhawk

mark87
01-02-2005, 01:56 PM
You could use document.referrer but that would only give you that last page they came from, so yes I guess you would have to use cookies; not sure how to do cookies myself though!

A1ien51
01-02-2005, 06:28 PM
If the urls are on 2 different domains, then you can not read the cookies! It is a security restraint.

Eric