Hey all,
I have a website, which uses frames (I know, I know...). Left frame is
a navbar, with the main content in the right frame.
I can login using sessions on the right frame, giving "Thankyou, $name
(where $session(name) = $name etc - not got code available atm, so
thats not exactly right, but you get the gist...)
I use <body onLoad parent.leftfram e etc to reload the left frame, which
checks to see if $name is blank, if it is, it displays a login link, if
its got text in, it displays "You are logged in as $name".....
Except I can't get my left frame to recognise that there is something
in $name, so it always displays the login link...
Am I missing something, or is there a limitation in php sessions with
regards to frames...
Thanks,
Ben
I have a website, which uses frames (I know, I know...). Left frame is
a navbar, with the main content in the right frame.
I can login using sessions on the right frame, giving "Thankyou, $name
(where $session(name) = $name etc - not got code available atm, so
thats not exactly right, but you get the gist...)
I use <body onLoad parent.leftfram e etc to reload the left frame, which
checks to see if $name is blank, if it is, it displays a login link, if
its got text in, it displays "You are logged in as $name".....
Except I can't get my left frame to recognise that there is something
in $name, so it always displays the login link...
Am I missing something, or is there a limitation in php sessions with
regards to frames...
Thanks,
Ben
Comment