I have a login system which opens a new window when you login. It works fine, and has for years. I want to change it so that instead of opening a new window it will log the user into the current window, and create the user options down the sidebar. This works. The problem is when I link the user options (on the sidebar) to an iframe (called mainbody) on the page, the pages loaded in the iframe do not recognize the PHP session. How do I make these pages that load in the iframe on the main page recognize the session that the main page already recognizes. (Also note that if you open the control panel in a new window, and click a link on the main page (associated with the login session) it will log you out of the new window and log you into the main page. Both of these should be the same session, and niether should log you out of the other one (Even though I will be getting rid of the new window control panel entirely soon) Hopefully this isn't too complicated. Thanks in advance!
2007-03-02
12:18:52
·
3 answers
·
asked by
Vertical
1
in
Computers & Internet
➔ Programming & Design