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



Reply via email to