Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Form Variables blank after logon

New Here ,
Sep 28, 2006 Sep 28, 2006
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.
TOPICS
Server side applications
682
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 30, 2006 Sep 30, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 30, 2006 Sep 30, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 30, 2006 Sep 30, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 30, 2006 Sep 30, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 30, 2006 Sep 30, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 30, 2006 Sep 30, 2006
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 30, 2006 Sep 30, 2006
LATEST
A) Did you step through the steps to fix your login behavior?

http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=324102421&r=324102421#32...

b) WHat code are you using to obtain your username in both versions of yoru
pages?

Jon

"BRAVEHEART1326" <webforumsuser@macromedia.com> wrote in message
news:efhbva$enh$1@forums.macromedia.com...
> 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines