Who said "almost doesn't count"
Registration page is working when i check the database.
But when i tried to Login then direct to Forgot Password page.....
anyone had same problem.....Please help
Registration page is working when i check the database.
But when i tried to Login then direct to Forgot Password page.....
anyone had same problem.....Please help
On the Login page, double click the Authenticate User Server behavior. Got to the second page and check the Columns that are being used for the comparison. make sure that the Username and password columns are selected.
If that checks out, double check the information that is stored after registration to make sure the username and password are stored in the database exactly as you entered them on the login page.
I could feel it that i almost there to complete this Membership Login Form.
thanks for your advice, after work i will double check tonight at home.
thanks again
How are you? Jason
I double check the way you told me, still couldn't LogIn.
On my Serverbehaviors window has SECURITYASSIST AUTHENTICATE USER AND DYNAMIC ATTRIBUTE(FORM,ACTION,<?PHP ECHO.......This could be mistake??
Also i attached the screen shot from SETTING UP LOG IN (INTERACTIVE TURORIAL).
Doesn't say anything about step 3 of 3 which i have member for Column and Session name....another mistake here??
and on Password column show "afbcd4f800c4181e8c0a" from Database.........???
Be patient with me Jason
thanks
I'm well, thank you for asking. Hope you are well also.
OK, I can see the problem, you are following the Recipe for encrypting the password in the database, but your password column is set to hold 20 characters.
The encrypted password will be 40 characters long.
You must edit the password column in your database to allow for the full 40 character encrypted password string.
The listing s in the Server Behaviors window sound correct to me.
The Session column on step 3 should be the primary key column from your users table.
thanks,
I'm great,but i need more patient.......
When i completed this project, we have to have the Mccoffee.....
You know i never took the class for Web site(?) and learning by myself.
There are so many people help others and i just want to thanks to those people who share their knowledge or experience from Adobe.com and WebAssist Forms.....
Jason, after changed to 40 characters long on database.
I did sign up on Registration page then it did direct to Log In(i enter information) page, then go to the Profile page but show " No record found"....almost there
Please....
Sorry for the delay.
Try adding the following at line 1 of the profile page:
<?php if(!session_id()) session_start(); ?>
thanks again Jason,
I copied this code form my Profile.php to show you and i replace with your code.
but still show that " NO RECORD FOUND" on the Profile page after log in..
<?php
if (!isset($_SESSION)) {
session_start();
}
?>
Jason,
Do you think i will complete this project?????
To trouble shoot, add the following code after the <body> tag on your Log In and Profile page:
<pre><?php var_dump($_SESSION); ?></pre>
This will write the contents of the session to the page.
After logging in, note the session variables that are listed, then go back to the login page, the same session variables should be listed with the same contents. Please post the results of this experiment and a copy of the login and registration page.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.