AngularJS ngRoute and PHP $_SESSION variables
问题 I have 3 pages: index.php login.php display.php index.php Sets up AngularJS using the ngRoute module to navigate my pages. login.php Loaded by default and sets PHP $_SESSION variables. display.php Echos the contents of $_SESSION. I navigate to display.php from login.php using a link setup with ngRoute. Problem display.php does not show $_SESSION variables no matter how many times I navigate to and from it. It will only display them if I manually navigate to the page such as refreshing the