Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: Re^2: LWP Redirection Problem

by zaimoni (Beadle)
on Sep 11, 2002 at 22:06 UTC ( [id://197095]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re^2: LWP Redirection Problem
in thread LWP Redirection Problem

Please excuse my delay in getting back to you.

I do not propose to change the address bar: as has been noted by others, that would require a POST redirect which is not well-supported by the major web browsers.

Rather, I propose to hide the address bar entirely (if the user permits). The following example is for my virtual domain's index page:

<a href="http://www.zaimoni.com/" target="_blank" OnClick="window.open('http://www.zaimoni.com', '_blank', 'location=no,scrollbars=yes'); return false">Zaimoni.com</a>

The above works in both IE5.5 and NS4.79. Since NS6.xx works much like IE5.5, I expect it to work in both NS6.xx and NS7.

In any case, the page opens in a new window if that is supported. Resizing is problematic (I tested that variant), so I would not even consider fixed-width design. The scrollbars=yes fragment tells the web browser to use scrollbars if necessary.

If JavaScript is enabled, the address bar is completely suppressed; only the content of the title tag (the desired URL; <title>http://www.mydomain.com/mypath.pl</title>) will be visible. If JavaScript is disabled/not supported, the address bar will be visible.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-20 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found