RE: [PHP] Redirect not working on server

From: Date: Tue, 02 Jun 2009 19:04:23 +0000
Subject: RE: [PHP] Redirect not working on server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-293503@lists.php.net to get a copy of this message
[snip] I have this line at the end of 1 big php block... header('Location: mypage.php?id=' . $_SESSION['id'].'&cat='.$_SESSION['cat']); It works fine on my dev. Testing server but does not forward on the actual website.... Any way to fix this? [/snip] The first thing that you will want to do is echo $_SESSION['id']; echo $_SESSION['cat']; To see if they contain anything

« previous php.general (#293503) next »