$_SESSIONs and the Edit Bar
Permalink
A site I'm working on seems to have broken recently:
* When a user logs in, they are redirected to the login page unless they click the 'remember me' box.
* As the page loads, you can see the background of the edit bar at the top of the page, but when the page is fully loaded, the edit bar goes away. The 'menuHTML' variable in the 'page_controls_menu_js.php' file is blank.
* In the sitemap, clicking to open a branch results in 'access denied'
I attempted to diagnose this a bit and discovered that the session variable is empty just before 'page_controls_menu_js.php' attempts to get the user on line 25.
* When a user logs in, they are redirected to the login page unless they click the 'remember me' box.
* As the page loads, you can see the background of the edit bar at the top of the page, but when the page is fully loaded, the edit bar goes away. The 'menuHTML' variable in the 'page_controls_menu_js.php' file is blank.
* In the sitemap, clicking to open a branch results in 'access denied'
I attempted to diagnose this a bit and discovered that the session variable is empty just before 'page_controls_menu_js.php' attempts to get the user on line 25.