in reply to OT- HTML Page and Frame Question

If your pages are generated by a CGI script, you could check the HTTP referer field to see if the page is called from the frameset.

See the referer() method in the CGI documentation.

Alternatively, you can use javascript: the code here should get you started

Replies are listed 'Best First'.
Re^2: OT- HTML Page and Frame Question
by dorward (Curate) on May 20, 2005 at 12:44 UTC

    you could check the HTTP referer field

    But be careful. The HTTP spec makes the referer header optional, and (in violation of the spec) a number of proxy servers munge the referer to either a URL advertising the proxy, or to a string of Xs. You could lock users out by accident.