angelag
March 3rd, 2003, 08:44 AM
Hallo all,
I have a problem when I try to make an url authentication from one side with two links pointing to the same url but with different userId and password parameters:
I have a html page with two links with e.g. the following urls:
<a href="#" onClick="window.open('http://url.com?login=userId1&password=password1>');return false;"></a>
<a href="#" onClick="window.open('http://url.com?login=userId2&password=password2>');return false;"></a>
when I click the first url, a new browser is opened and the authentication is done correctly. Afterwards I click the second link, a new window is then opened, but I see the page of the first user.
The second window inherits the credentials of the first window.
How can I obtain a right behaviour of the program?
Thank in advance,
Angela.
I have a problem when I try to make an url authentication from one side with two links pointing to the same url but with different userId and password parameters:
I have a html page with two links with e.g. the following urls:
<a href="#" onClick="window.open('http://url.com?login=userId1&password=password1>');return false;"></a>
<a href="#" onClick="window.open('http://url.com?login=userId2&password=password2>');return false;"></a>
when I click the first url, a new browser is opened and the authentication is done correctly. Afterwards I click the second link, a new window is then opened, but I see the page of the first user.
The second window inherits the credentials of the first window.
How can I obtain a right behaviour of the program?
Thank in advance,
Angela.