Click to See Complete Forum and Search --> : Prevent direct access to a framed page


fmwoo
03-10-2003, 06:55 AM
Hi,
I have a web page that uses frame. However, if someone use View Source, they will be able to find out the frame src and they can bypass the frame and go direct to the main page. Is there a way where I can make use of a Javascript so that when someone try to gain direct access to the main page, a dialog box will appear telling him/her they should access my web through the normal access? And maybe redirect them to the normal access - frame page?
Thanks for any help.
Best regards

gil davis
03-10-2003, 07:14 AM
http://javascript.internet.com/navigation/force-frames.html

fmwoo
03-10-2003, 07:20 AM
Thanks Gil and Dave !!