I'm creating an admin panel for a php application, and I'm appending the session to each link in the control panel.
I just wanted to ask you guys if this is the right way to do it:
somelink.php?PHPSESSID=<?php echo strip_tags(session_id()) ?>
Now when the user is directed to somelink.php will the session automatically be found? Or do I have to add some line in the somelink.php file such as:
session = $PHPSESSID;
Thanks for any help 🙂