Hi, I want to pass data to a new window from a hyperlink. How do I pass data to this window without showing the data on the web address or is this the only way? especailly for login info, which should be invisible to the user or encrypted! The data passed to the new window will be used to login the user.
eg:
is there a way to pass data to a new window with this method using hyperlink:
$user="username";
$pass="password";
<a href='www.mysite.com/login.php?' target='_blank'>Login to new site</a>
or I can only use this method, but will show the parameter data
<a href='www.mysite.com/login.php?username='.$user."&pass=".$pass.:' target='_blank'>Login to new site</a>
Thanks
Comments
I know for a fact that it can be done with forms - thats done easily enough
The Royal Ram
Also, the user wont see session variables and it is by far the most secure way to manage them
DinoSIG: Free dynamic forum signatures
The Royal Ram