BrianM Posted November 28, 2008 Share Posted November 28, 2008 I've searched Google for subjects as "How to add php session id in url" and such, but hadn't had any luck with finding the answer I'm looking for. Could anyone please help by maybe showing an example of creating a session and adding the session id inside the url bar? Please and thank you! Quote Link to comment Share on other sites More sharing options...
flyhoney Posted November 28, 2008 Share Posted November 28, 2008 <?php session_start(); $session_id = session_id(); header('Location: http://www.lol.com/?sess_id='. $session_id); ?> Quote Link to comment Share on other sites More sharing options...
BrianM Posted November 28, 2008 Author Share Posted November 28, 2008 Ah, thank you very much! Quote Link to comment Share on other sites More sharing options...
webmaster1 Posted November 28, 2008 Share Posted November 28, 2008 If it worked close the door after you (mark as solved). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.