Is it possible from a CGI script to determine whether the script was
called (via SSI) in a frameset or directly? I know it is possible to
via CGI scripts in Perl...
SSI is server side include that is called inside a HTML page by the
server. SSI usually generates an HTML page fragment and not the whole HTML
If a frameset is composed using CGI the CGI generates a whole HTML page,
which is used in a frameset.
I am afraid that you mix up frameset and HTML page composed using SSI.
As SSI is not standard you should read the documentation of the web server
on the details if the web server gives any environment variable indicating
that the page is SSI or not.
[ back to toc ]