go ahead... be a heretic | |
PerlMonks |
close web browser windowsby mbond (Beadle) |
on Jan 02, 2001 at 21:17 UTC ( [id://49325]=perlquestion: print w/replies, xml ) | Need Help?? |
mbond has asked for the wisdom of the Perl Monks concerning the following question:
I have a web page that opens a new browser window, writes to a log file, then redirects the browser to a new location. I do this using: print "location: $URL\n\n"; In one instance this opens up a third window, by the site that is being called. I would like ot close the window I opened, so that there continue to only be 2 windows open. Is there and easy way to do this? I no longer have control over the window i opened onc ther third opens ... or at least i don't think that i do ... i tried using <script>window.close</script> but that didn't work :-( thanks Mbond
Back to
Seekers of Perl Wisdom
|
|