PDA

View Full Version : client login


elo
08-28-2002, 06:22 PM
I know there are several ways to do a client login. I've never done one. is the process something like the following:
1) login page
2) a script checks for valid login and password 3) redirects client to a certain page. can it be done in flash? is there an easy way to do it in dreamweaver? do you need a server side script? can someone point me in the right direction.?

thanks

thickandthin
08-28-2002, 09:59 PM
you can do it in javascript, cgi, asp, many other things, for a beginner i recommend javascrpt, there are many Here (http://www.javascriptkit.com/script/cutindex6.shtml), and Here (http://javascript.internet.com/passwords/) that you can just copy and paste!

Nightfire
08-29-2002, 12:43 AM
Using a serverside language is the most secure way to have it. If you're going to use javascript, don't expect to have good password protection, as the password, etc is in the source.

whackaxe
08-29-2002, 11:15 AM
best javascript is a method refered to as gatekeeper which is sending a person to the page he typed in IE
password:*enterspassword*"goat" then sends the person to goat.html, but if goat.html doesnt exist then that isnt the password if you see what i mean

Dotcomsnz
08-29-2002, 12:55 PM
.htaccess can be a simple way of achieving that - http://faq.clever.net/htaccess.htm for further info

whackaxe
08-29-2002, 01:06 PM
but htacces isnt always available on servers and web based logins look nicer

Dotcomsnz
08-29-2002, 01:13 PM
Thats true, most servers do support .htaccess though - Just an option :D

Some people turn Java off in their web browsers too :D

oracleguy
08-29-2002, 06:59 PM
Supposedly with ASP and ADSI you can have a form replace the IIS authentication box. It's not really easy tho. But it can be done.