Actually that is just adding extra work, where it is not needed.
When you user logs in, the Dreamweaver login behaviour creates a Session
called MM_Username, which is the Username of said person.
You can simply place a recordset on each page which is filtered by said
MM_Username session and gives you the full details in your users table, and
thus you can place their Forename and Surname and any other details you want on
the page.
This will also mean you can give them the option to update their details.
I have a free tutorial on creating the login area which you might find useful:
http://www.cgw3.co.uk/tutorials/tuto...&TutorialID=31
Originally posted by: Jeremy Williams
This is excellent advice. Can you please explain further how I would add the
session variable to the login page? For example, I have a "Log In User"
variable listed under the server behaviors panel in Dreamweaver. It is
connected to the "submit" button on the login form. Would I select the submit
button and attach the session variable in that way?
Also, I understand that I need to add the session variable through the
bindings panel. Would I select "Request Variable" or "Session Variable?" What
would I enter as the name--the "FirstName" field from the table in my database?
In summary, I don't quite understand how to first, insert the session variable
and secondly, how to hook that session variable up to pass the "FirstName"
along to the following pages.
Thank you!