Ah, but the frames are second and third in the chain.
The first link is the frameset builder, where !$content evaluates as false because $content is set if you're using the URL you mention in your original post.
Propagating the query string so that it's set in the children frames is an easy fix, though ...
sub print_frameset { $script_name = $q->script_name; $query_string = $q->query_string; print <<EOF; <html><head><title>$TITLE</title></head> <frameset rows="147,*" frameborder="NO" border="0" framespacing="0" co +ls="*"> <frame src="$script_name/top?$query_string" scrolling="NO" name="topFr +ame"> <frame src="$script_name/main?$query_string" name="mainFrame"> </frameset> EOF ; exit 0; }
--k.
In reply to Re: Re: Re: Why is this param undefined? and Why isn't exit stopping the script from running?
by Kanji
in thread Why is this param undefined? and Why isn't exit stopping the script from running?
by jerrygarciuh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |