Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Browser redirection

by higle (Chaplain)
on Mar 01, 2002 at 14:37 UTC ( [id://148572]=note: print w/replies, xml ) Need Help??


in reply to Browser redirection

Are you asking whether it is possible to open an IE browser from within a script running in a Netscape browser? (no, that is not possible with Perl or CGI, nor is such user system hijackery recommendable in any case)

Or, are you asking about location redirection, i.e. redirecting a user with a Netscape browser to the Microsoft IE website for a download? Yes, this is possible with Perl, but making the user wait for a server-side script to execute for this is not recommendable, either.

Sounds like you're looking for JavaScript...

  higle

Replies are listed 'Best First'.
Re: Re: Browser redirection
by Anonymous Monk on Mar 01, 2002 at 15:40 UTC
    Thanks for all the replies. Yes, I want something that will take me from a Netscape page to a IE page. No downloads just a link on the web page using Netscape browser that will redirect to a specific page in IE browser.

      Ok, the reason something like that is not possible, is because that involves making a call to the users system. If you could open explorer from a cgi, what's to stop you from running rm -rf / or format c: or some other nasty system call.

      I suppose if you are targetting a browser that supports ActiveX you could prompt your user to accept a control that could do something like that. But such an operation, cannot and should not be carried out automatically from a CGI.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://148572]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-25 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found