Redirect problem
When a user clicks a link to a restricted page they are sent to the users_LogIn.php?accesscheck=%2FAW%2Fusers_Profile.php .
This takes the user to the users_Profile.php page as indicated by trailing url info accesscheck=accesscheck=%2FAW%2Fusers_Profile.php.
What I'd like is for the user to go back to the page they were trying to access not the users_Profile.php page.