close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Who said "almost doesn't count"

Thread began 9/09/2009 1:22 am by james276087 | Last modified 9/19/2009 2:44 pm by james276087 | 3112 views | 14 replies |

james276087

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

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

james276087

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

Sign in to reply to this post

james276087

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

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

james276087

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....

Sign in to reply to this post

james276087

Jason,
did you forget about me?????

Sign in to reply to this post

Jason ByrnesWebAssist

Sorry for the delay.

Try adding the following at line 1 of the profile page:
<?php if(!session_id()) session_start(); ?>

Sign in to reply to this post

james276087

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?????

Sign in to reply to this post

Jason ByrnesWebAssist

To trouble shoot, add the following code after the <body> tag on your Log In and Profile page:

php:
<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.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...