...

View Full Version : Password Procection with login in URL



tcollick
01-15-2004, 12:53 PM
Hi folks,

Im looking for a Password Protection script or code which will direct the surfer to a URL that contains both the login and password:

e.g.

Username =12345
Password = ABCDE

click login and it directs them to a page such as:

https://xxxxxxxxx.aspx?username=12345&password=ABCDE

any help would be really appreciated:)

lavalamp
01-15-2004, 03:55 PM
That's just plain old HTML.

<form action="xxxxxxxxx.aspx" method="get">

<input type="text" name="username">
<input type="password" name="password">

</form>

tcollick
01-15-2004, 04:04 PM
Thanks Lavalamp,

Is it possible to give some more code that i can copy / paste.
at the moment all i have is two empty fields, and know way to submit and check the URL.

lavalamp
01-15-2004, 06:19 PM
Well I could give you some more code, but I don't know what code you want. It looks as though you have the login feature sorted because you are using ASP.net.

tcollick
01-15-2004, 06:26 PM
thanks lavalamp...ive worked it out, although I know nothing about asp...its a link to a partner site.

narf
01-15-2004, 08:27 PM
i like lavalamps

lavalamp
01-16-2004, 02:13 PM
Erm... thanks, so do I I guess.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum