I have this simple asp page that does a post to a different site with the user credentials. This works fine on PC and all browsers but does not work on the mac using Firefox. Basically on the mac all I get is a blank page and it never does the post. Below is the code any help would be great.
I have tried stripping everything done to just the form post but it still does not work.
Code:
<html>
<head>
<title>Link</title>
<script language=javascript type="text/javascript">
<!--
function getCookieValues( )
{
var values = [];
var temp = document.cookie.split( /\;/g );
for ( var c = 0; c < temp.length; ++c )
{
var pair = temp[c].split("=");
var name = pair[0].replace(/^\s+/,"").replace(/\s$/,"");
if ( name == "UserIDPW") {
var val = pair[1].split("&");
return [ unescape(val[0]),
unescape(val[1]) ];
}
}
return null;
}
function getUserIDPWcookie( )
{
var both = getCookieValues( );
if ( both != null )
{
var frm = document.LinkForm;
frm.Account_ID.value = both[0];
frm.Account_Password.value = both[1];
frm.submit();
}
}
// alert( "\nusername: " + id[0]
// + "\npassword: " + pw[1] );
// }
//-->
</SCRIPT>
<body onLoad="getUserIDPWcookie();" >
<form method="POST" action="http://server1btest.ccc.com/TST/com/check.asp" name="LinkForm" ><br>
<input type='hidden' name='Account_ID' value=""><br>
<input type='hidden' name='Account_Password' value="'pw'"><br>
</form>
</body>
</html>
I have tried stripping everything done to just the form post but it still does not work.