hiii,,i m a new member of daniweb and new to programming also..
well i have a simple login page in my website,,
currently i am using standard username and password,,,but i would like to have the username and password checked from a table in the database,,
i am using asp.net 2.0 and sql server 2000....
can any1 help me out how to do it exactly????
thnks in advance....
common guys n gals out thr,,,i really need ur help..help me out
johnny.g
0
Junior Poster in Training
Recommended Answers
Jump to PostCreate a table to store login and encrypted salt in database, when someone enters a password, use standard encryption algo and see whether the string matches with what is there in database. It is pretty straight forward.
Jump to Posthi johnny.g,
There are several article's were available , make Googled and you can definately got some solution on it.
I found out two article based on it. Just visit the link.
Jump to PostHere's one simple example where you can receive, check and redirect user logins.
Change the DB table fields and so on to match your own data base.<% PW = Request.Form("pass") ' password from the loginform UN = Request.Form("user") ' username from the loginform SQL = "SELECT …
Jump to PostThat's pretty much it. The only thing you have to worry about is case sensitivity. This depends on your server settings on which it is set to case-sensitive or case-insensitive. You should pull the password from the database and then check it thoroughly. You don't want someone to use "PassWoRd" …
All 15 Replies
ithelp
757
Posting Virtuoso
Banned
dilipv
0
Light Poster
johnny.g
0
Junior Poster in Training
johnny.g
0
Junior Poster in Training
TobbeK
0
Junior Poster
SheSaidImaPregy
28
Veteran Poster
TobbeK
0
Junior Poster
johnny.g
0
Junior Poster in Training
SheSaidImaPregy
28
Veteran Poster
TobbeK
0
Junior Poster
johnny.g
0
Junior Poster in Training
SheSaidImaPregy
28
Veteran Poster
johnny.g
0
Junior Poster in Training
nukewarm
0
Newbie Poster
SheSaidImaPregy
28
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.