RE: [PHP] auto_prepend_file
| From: | Jennifer Goodie | Date: | Thu, 27 Mar 2003 01:21:47 +0000 |
| Subject: | RE: [PHP] auto_prepend_file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141150@lists.php.net to get a copy of this message | ||
You're looping endlessly because SESSION is not getting registered anywhere.
-----Original Message-----
From: Kevin Heflin [mailto:kheflin@shreve.net]
Sent: Wednesday, March 26, 2003 5:16 PM
To: php-general
Subject: [PHP] auto_prepend_file
Trying to use
php_value auto_prepend_file /path/to/file/checkauth.php
in an .htaccess file.
I've used this before without problems, however with this instance, I
keep getting a message in my browser which says:
Redirection limit for this URL exceeded. Unable to load the requested
page.
my checkauth.php page looks like this
<?
session_start();
if (!session_is_registered("SESSION")){
header("Location: /error.php?e=2");
exit;
}
?>
Any suggestions would be appreciated.
Kevin