Hi everyone I need some major help. I'll try to explain this in as much detail as possible.
I'm building this web site. it has a third party forum software that i'm trying to integrate into the site. The login, logout and registration pages all reside in a folder on the server at the root called /registration and the forum resides at the directory /forums.
so far i've managed to integrate so that the login page in /registration will set the same session variables necessary for the main page for the /forums directory to think you're also logged in for the forum.
When I log in from the login page in /registration and logout from the /registration page, all the session variables are killed and i'm logged out perfectly from both the forum and the main site.
When I log in from the main login page in /registration and logout from the logout link in the /forums site, it also logs me out perfectly for both the main site and the forum and all session variables are killed.
when I log in from the /forums login and even logout from the /forums logout link all is well and it logs me out perfectly for both the main site and the forums.
however, when I log in from the login page in the /forums side and logout from the main page it only logs me out of the main site but does NOT properly log me out of the forums side. hence when I do this, I'm logged out of the main site but I can go back into the forum and still be logged in.
i've outputted the session variables in the main site and seen that they are cleared but in the forum with the same session variable name and same session id as the main site, i find that the session variables mysteriously are NOT cleared. why is this???
I'm building this web site. it has a third party forum software that i'm trying to integrate into the site. The login, logout and registration pages all reside in a folder on the server at the root called /registration and the forum resides at the directory /forums.
so far i've managed to integrate so that the login page in /registration will set the same session variables necessary for the main page for the /forums directory to think you're also logged in for the forum.
When I log in from the login page in /registration and logout from the /registration page, all the session variables are killed and i'm logged out perfectly from both the forum and the main site.
When I log in from the main login page in /registration and logout from the logout link in the /forums site, it also logs me out perfectly for both the main site and the forum and all session variables are killed.
when I log in from the /forums login and even logout from the /forums logout link all is well and it logs me out perfectly for both the main site and the forums.
however, when I log in from the login page in the /forums side and logout from the main page it only logs me out of the main site but does NOT properly log me out of the forums side. hence when I do this, I'm logged out of the main site but I can go back into the forum and still be logged in.
i've outputted the session variables in the main site and seen that they are cleared but in the forum with the same session variable name and same session id as the main site, i find that the session variables mysteriously are NOT cleared. why is this???