applejay Posted September 27, 2006 Share Posted September 27, 2006 I want to make session ids (login, passwords) on my webpage, but don't know where to start for that. Thanks in advance! Link to comment Share on other sites More sharing options...
Skemcin Posted September 28, 2006 Share Posted September 28, 2006 Well, this all depends on the server side language you choose to use. I use Cold Fusion so my process is very easy.a.) login-form.cfm = form for user to submit username password for authenticationb.) login-authenticate.cfm = takes the username and passes the password through encryption algorythm and queries the database. NOTE, when I create a user record, I run the password they submit through the encryption algorythm and save that in the DB - so I never know their password. If the query returns one value that matches, then I do this:<cfset session.username=form.uname><cfset session.epassword=encrypt(form.pword, AES, HEX);>That makes them available on any page during that user session.Like I said, each language is different, so you'll have to determine that first. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now