View Full Version : View User Profile!

03-08-2006, 04:21 PM

I am using Dreamweaver 8; I want users to be able to login using emailaddress and password, and when logged in be able to view thier profile and edit it! How can I display a specific record based on emailaddress and password? What do I need to do on the login page and the profile page? I created a "Log In User" on the login page matching form fields to table fields, and on the profile page, I did a recordset query for that table, but it just shows all the user profiles, when any user login!

Please help


Creative Insanity
03-08-2006, 05:12 PM
Use sessions and create a filter on the profile page using the active session.

03-08-2006, 07:03 PM
Do I create a session var for both EmailAddress and Password in the profile page? For the Filter, do I make it EmailAddress = session variable EmailAddress in the recordset? If so I am getting this error although there are records in the Database
Error Type:
ADODB.Field (0x800A0BCD)
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

Thanks Again!

Creative Insanity
03-08-2006, 07:13 PM
What language are you using?

03-08-2006, 07:16 PM

Creative Insanity
03-08-2006, 07:23 PM
Opps, sorry I do php.

03-21-2006, 06:03 PM
Problem solved!

I just added a session variable for ID and filtered results based on it!