Braveheart1326
Technical User
Hi
I am new to Dreamweaver 2004 MX and web development so please bear with me. I have an index page (index.htm) that has been split into 3 frames. A login frame (PHP page), A navigation frame (PHP page) and a main text frame (PHP / html page). Within the login frame there is a form asking for username & password. The "login button" has a server behaviour assigned to it of log on user and will authenticate the username and password against a registered users table in a MYSQL database.
If the login is successful, then it should open a login_successful page (PHP) in the main text frame of the site. Part of this page says "welcome <Username", where Username is a form variable. The problem is that this NEVER seems to pass through the username.
If I dont authenticate against the database table and just load the page the Username variable shows ok so it looks like once it has authenticated with the database it is clearing down the username variable.
Has anyone got any ideas what could be causing this to happen as I need to a) authenticate the details and b) have the username variable available as I need to to query the MYSQL database to return specific matches for the username.
Does anyone know why this is happening. All info & guidance appreciated.
Thanks and look forward to resolving this problem once and for all.
I am new to Dreamweaver 2004 MX and web development so please bear with me. I have an index page (index.htm) that has been split into 3 frames. A login frame (PHP page), A navigation frame (PHP page) and a main text frame (PHP / html page). Within the login frame there is a form asking for username & password. The "login button" has a server behaviour assigned to it of log on user and will authenticate the username and password against a registered users table in a MYSQL database.
If the login is successful, then it should open a login_successful page (PHP) in the main text frame of the site. Part of this page says "welcome <Username", where Username is a form variable. The problem is that this NEVER seems to pass through the username.
If I dont authenticate against the database table and just load the page the Username variable shows ok so it looks like once it has authenticated with the database it is clearing down the username variable.
Has anyone got any ideas what could be causing this to happen as I need to a) authenticate the details and b) have the username variable available as I need to to query the MYSQL database to return specific matches for the username.
Does anyone know why this is happening. All info & guidance appreciated.
Thanks and look forward to resolving this problem once and for all.