You're looping endlessly because SESSION is not getting registered anywhere.
-----Original Message----- From: Kevin Heflin [mailto:[EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php