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

Received on Wednesday, 21 February 1996 22:46:18 UTC