returning to the same page after log in

From: Date: Wed, 09 Aug 2006 13:18:44 +0000
Subject: returning to the same page after log in
Groups: php.general 
Request: Send a blank email to php-general+get-240368@lists.php.net to get a copy of this message
Hello all! This is a bit difficult to explain. On a site I am building I sometimes use the GET method to forward values to the next page. There are certain pages that you need to be logged in to to be able to see data. So you arrive at the page, you realize that you are not logged in, so you type your username/password and hit 'log in'. Then the page gets severely messed up as the GET data are not forwarded (at least, I think that's the problem). Any ideas how to solve this? I tried to send a header("location: ...") with the document_root and request_uri as the location, but that doesn't do the trick.

« previous php.general (#240368) next »