|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
how to confirm a user login and password, and then lead the user to his profile page? is it related to database retrival?
|
|
#2
|
||||
|
||||
|
Oh Man, there so many ways to do this, depending on what programming language your using, ie. PHP, Perl..etc.
Can you be a bit more specific Mickalo
__________________
Thunder Rain Internet Publishing Custom Programming & Database development Providing Personal/Business Internet Solutions that work! |
|
#3
|
|||
|
|||
|
ok. I make it more detail of my question.
For example, I got an user ID and password. Then, I key in the login ID and password on a web site, then I click login. What is the technology involve behind the above scene? |
|
#4
|
|||
|
|||
|
Well, the simplest method will be using directory protection with .htaccess. You can use one username and password for all users.
You can check out how this works by typing .htaccess or password protected directory in Google. More complicated ways of doing this will be using programming languages such as Perl, PHP etc. Of course, this way is more sophisticated since you can generate usernames and passwords, give different people certain level and access etc. There are lots of scripts that you can use for this. You can check out http://www.hotscripts.com/Perl/Scri...ord_Protection/ and http://www.hotscripts.com/PHP/Scrip...Authentication/ Hope this helps. Laura Brandt |
|
#5
|
|||
|
|||
|
Hello,
As Laura suggested using .htaccess is the best way to protect a directory on your site or html pages. First thing you need to figure out is how you are going to manage the profiles in the first place. Whether they are each going to get their own HTML page or you are going to add each to a database eg, mySQL, Flatefile and so on. Each could then be unique to their username and password, which can be stored in the database as well. If using mySQL you can encrypt each users passwords in the table and test against that. From there you could extract the proper users information and do with it whatever you or they want to. Create profiles dynamically and update records according to the users input. I am sure you could get help if you would descibe exactly how you want to store the information. Regards, Ray |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > user login and password confirmation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|