Re: Session registration.
| From: | John Nichel | Date: | Fri, 18 Oct 2002 16:03:18 +0000 |
| Subject: | Re: Session registration. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120529@lists.php.net to get a copy of this message | ||
You'll have to start the session on ever page ( unless you set sessions to automatically start in the php.ini file ), then you can just call $_SESSION['Requested_url']. The value will still be there.
Renato Lopes wrote:
Hi! Can anyone help? I am running PHP 4.2.3 and have set the following: session_start(); $_SESSION['Requested_url']=getenv("SERVER_NAME").getenv("REQUEST_URI"); How do I go about accessing this variable on a different page, with register_globals disabled? Thanks Renato