must come from a previous page
does anyone know any javascript that requires someone to come from a required page before veiwing a certain page? (one that works on both netscape and ie?)
thanks.
Web Development
does anyone know any javascript that requires someone to come from a required page before veiwing a certain page? (one that works on both netscape and ie?)
thanks.
by jay eckles
Javascript is the wrong tool for that job. One could easily bypass such a mechanism by simply turning off Javascript.
You could use a server-side program that checks the referrer of a request before displaying the page in question. That still has its faults, but you'll find it infinitely more reliable than a Javascript solution. You could implement this type of server-side program as a CGI in your programming language of choice or as Java Servlet, JSP, ASP, PHP, or whatever you find most useful.
Good luck.
This discussion is closed to new replies.
Sort by Trending