in reply to Re: Re: Why is this param undefined? and Why isn't exit stopping the script from running?
in thread Why is this param undefined? and Why isn't exit stopping the script from running?

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.


  • Comment on Re: Re: Re: Why is this param undefined? and Why isn't exit stopping the script from running?
  • Download Code

Replies are listed 'Best First'.
Re: Re: Re: Re: Why is this param undefined? and Why isn't exit stopping the script from running?
by jerrygarciuh (Curate) on Mar 28, 2002 at 20:27 UTC
    Thanks so much for your time!!!! That solved it and it might have cost me hours before I realized what was up.
    Thank you,
    jg
    _____________________________________________________
    Think a race on a horse on a ball with a fish! TG