how to pass userid and pwd with request

liunx

Guest
Hi every one,<br />
<br />
I have users to login a secure web site and they always have to login Userid and pwd. For security reason I want to make the id and pwd part of the Url so user do not have to type in all the time. I am wondering, is there a way, i can pass userid and pwd when opening a secure web site. <br />
<br />
If i can embed it within a page and a click on a button would open the page and also send id and pwd, that would be great.<br />
<br />
I tried<br />
<br />
<!-- m --><a class="postlink" href="http://userid/pwd@url">http://userid/pwd@url</a><!-- m --><br />
<br />
but it does not work.<br />
<br />
Thanks, <br />
mashraf<!--content-->If you are not using a server side language you should, if you are... which. You can keep users logged in my modifying session lengths for logins with any server side langauge, you can also use a cookie. The only time it is really practical to have variables such as a name id or password in a url is if they are genorated as a query string and are being recieved on another page.<!--content-->there are some limitations on what characters can form a valid URL<br />
<br />
I think @ will be a bad character in a valid URI<!--content-->Hello Khalik,<br />
<br />
so you are saying <br />
<!-- m --><a class="postlink" href="http://id:pwd@url">http://id:pwd@url</a><!-- m --><br />
<br />
can not work. So is there any ohter way.<br />
<br />
Thanks<br />
Mashraf<!--content-->I have found this document somewhere on w3c(?? I guess).<br />
It should shed some light for you on this issue<br />
<br />
<!-- m --><a class="postlink" href="http://68.145.35.86/manual/rfc2396.txt">http://68.145.35.86/manual/rfc2396.txt</a><!-- m --><!--content-->
 
Back
Top