page protection error
Hi,
I've used DA wizard to create a set of pages accessed by logged in users
I then used SA Page Access to protect these pages.
The following code snip is present at the top of each page i wish to protect
<?php
if (!isset($_SESSION)) {
session_start();
}
?>
<?php require_once('../******/********.php'); ?>
<?php virtual( "/WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Logged in to **_****")){
WA_Auth_RestrictAccess("/members/login.php");
}
?>
If after i login and attempt to access any of these pages, a "HTTP Error 500 (Internal Server Error)" page loads.
DW CS5 does not report any code errors.
Any ideas on where i could be going wrong?