posted 13 years ago
I am opening a new window when someone logs in. The problem is the user name and password are appearing in the browser title bar because its doing a GET. How can I prevent the user accout info from appearing in the title bar? A POST perhaps?
Code...
<form action="" method="post" name="loginForm" onsubmit="submitLoginForm();return false;">
STANDARD_SCALE_DISPLAY_WIDTH = 1280;
STANDARD_SCALE_DISPLAY_HEIGHT =1024;
function openPopup(userName, pwd){
ref = window.open("popup.jsp?username="
+ userName +
"&password=" +
pwd,'P20Web',
"'left=0,toolbar=0,menubar=0,resizable=1,location=0,status=0,scrollbars=1,top=1"
+ ", width=" + STANDARD_SCALE_DISPLAY_WIDTH
+ ", height=" + STANDARD_SCALE_DISPLAY_HEIGHT + "'");
ref.moveTo(0, 0);
ref.focus();
}