networkthis Posted May 17, 2008 Share Posted May 17, 2008 I noticed that you had echo $_SESSION['username']; shouldn't it be $_SESSION['username']; Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted May 18, 2008 Share Posted May 18, 2008 To show your settings, use a phpinfo(); statement in a .php file. There is a section in the output with the session settings. Copy and past that here so that someone can see what all the settings are. If no error was displayed, that would mean that there is not a header/content problem. There still are several possibilities, either with the session cookie or if your site is using the transparent sid on the url, as those are not automatically appended when you redirect... Quote Link to comment Share on other sites More sharing options...
networkthis Posted May 18, 2008 Share Posted May 18, 2008 sorry, I noticed I mean I noticed you had <?php $_session['username']; ?> shouldn't it be <?php $_SESSION['username']; ?> Why not just try to simply echo <?php session_start(); echo $_SESSION['username']; ?> 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.