Canman2005 Posted June 15, 2009 Share Posted June 15, 2009 I'm trying to define a SESSION ID though the URL Does anyone know why $sess = $_GET['sess']; print $_SESSION['$sess']; Does not work? Any help would be great Quote Link to comment https://forums.phpfreaks.com/topic/162284-solved-session-value-from-_get/ Share on other sites More sharing options...
wildteen88 Posted June 15, 2009 Share Posted June 15, 2009 Remove the single quotes from around $sess Variables do not get parsed within single quotes. Quote Link to comment https://forums.phpfreaks.com/topic/162284-solved-session-value-from-_get/#findComment-856549 Share on other sites More sharing options...
Canman2005 Posted June 15, 2009 Author Share Posted June 15, 2009 thank you, must be having a dim day Quote Link to comment https://forums.phpfreaks.com/topic/162284-solved-session-value-from-_get/#findComment-856558 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.