perl print Location

Webmaster WebMaster at RoyalRoads.ca
Fri Jul 23 17:04:30 EDT 1999


For some time now we have been using a very simple perl script to pass a
userid & password to a remote database by having our users click on a link
for a local CGI script.  In essence all the script contains is:

	$userid="USERID";
	$password="PASSWORD";
	print "Location:
http://$userid:$password\@some.isp.url/index.htm\n\n\n";

This has worked and continues to work in Netscape 3.x and 4.x and I thought
it worked in IE 3.x, but now as our users have moved to Internet Explorer
5.x (we seem to be skipping 4.x) it is no longer functioning correctly.

When IE 5.x is the browser the script executes, but the remote site ignores
the userid and password and prompts for them to be entered.  If our user
clicks cancel (to the userid/password prompt) and clicks the browser refresh
button it works as it does in Netscape.

What has changed and what can I do about it?

Regards,
Liz


More information about the Web4lib mailing list