Session ID PHP on Other Page Outside Index.php

How do I get session on another page after clicking on button to redirect me? This is using the QuickStart application with php. The error I keep getting is shown in the screenshots. This is after I have logged in and clicked the button to go to the test.php page.


The other page would be