07-17-2003, 01:35 AM
hey. just found the site. love it :) anyways my question is how do i make a page only accessable if the user if coming from another page? like i set the page that they have to come from to be able to get into the page. you know what i mean? please help me out. thanks :)
07-17-2003, 06:25 AM
if (document.referrer!="http://mydomain/somepage.htm") location.href="somepage.htm";
to be more strict, you should use server-side language to check the referrer.