jarv Posted July 14, 2010 Share Posted July 14, 2010 Hi, I am trying to write out the following, I am logged in, the following code does not output anything but it is being set: <? print($_SESSION["rsUser"]); ?> hmm Link to comment https://forums.phpfreaks.com/topic/207761-just-logged-in-not-writing-out-session/ Share on other sites More sharing options...
wildteen88 Posted July 14, 2010 Share Posted July 14, 2010 Remember before using $_SESSION variables you need to call session_start() at the top of your script. Link to comment https://forums.phpfreaks.com/topic/207761-just-logged-in-not-writing-out-session/#findComment-1086091 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.