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.

image

The other page would be http://127.0.0.1:3000/test