help with frames

Shan (shan@asl.hitachi.com)
Wed, 21 Feb 96 22:46:09 EST


Date: Wed, 21 Feb 96 22:46:09 EST
From: shan@asl.hitachi.com (Shan (admin))
Message-Id: <9602220346.AA27294@sol.asl.hitachi.com>
To: www-html@w3.org
Subject: help with frames


Using Href's i can display HTML onto a targetted frame, for example:

<A HREF=http://my.domain.com/index.html target=main> Click here</A>

However, when i try to use the "Location" header, this doesn't work.

For example, i have a CGI script which after doing all the 
necessary processing does something like::

printf("Location: http://my.domain.com/index.html target=main\n\n");

The index.html gets displayed in the calling frame itself,
it never gets to the target window. It kind of ignores
the target directive. I have even tried using the reserved
words for the frames, like "_parent"; but of no avail.

What am i doing wrong ? How can i achieve the desired effect ?

Please reply directly to: shan@asl.hitachi.com
as i am not on the mailing list.

Thanks.

Shan