Simply, I have a Perl CGI script that, when done executing after being
called, ends with the following:
print "Status: 302 Moved Temporarily\n";
print "Location: " . $url . "\n";
print "Window-Target: NewWindow\n\n";
This code opens $url in a new browser window. This works like a dream
for NN browsers. For MSIE, however, $url is opened in the same window
that it was called.
1) Why doesn't this work for MSIE, and
2) What do I need to return to the MSIE-using client such that $url
opens in a new window?
Thanks in advance,
Rich Yavorsky
<FORM ACTION="blah" TARGET="_top"></FORM>
Daniel Vesma
http://www.thewebtree.com
http://www.thewebtree.com/daniel-vesma
Sounds like an HTML problem, a Microsoft Problem, a Browser Problem or a
Operator Problem. Not a Perl Problem. Or perhaps I'm mistaken. Tell
us, how does browser redirection have anything to do with Perl?
Rich
---------------------------------------------------------------------
Rich Gaushell -- Yet Another Perl Programmer <rgau...@hotmail.com>
"Give a person a script, they'll use it for a day,
Teach them how to program, they can run forever."
(unless they're on NT, in which case they must reboot every few days)
That's a score for MSIE in its war against Netscape.
\\ 1) Why doesn't this work for MSIE, and
Could it because of the fact MSIE follows the HTTP/1.1 RFC, and Netscape
plays its tiring "NIH" game again?
\\ 2) What do I need to return to the MSIE-using client such that $url
\\ opens in a new window?
You wouldn't. You let the user decide whether they want a new window or not.
Document authors trying to open extra windows on a users screen should be
skinned alive, dipped in a barrel of salt, then fed to the sharks.
Now, what has this to do with Perl?
Abigail
--
perl -we 'print split /(?=(.*))/s => "Just another Perl Hacker\n";'
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
>Document authors trying to open extra windows on a users screen should be
>skinned alive, dipped in a barrel of salt, then fed to the sharks.
Objection on behalf of the shark community. Gah.
Anno