Suntower
Posts: 225
|
Posted: 12/12/2004, 2:29 PM |
|
I created a test app with a Login, but did not apply security (create groups) when I used the AppBuilder.
I thought that I could simply create the groups afterwards and restrict access to various pages after the fact. BUT...
What I want is, as the tutorial describes, when the user clicks on any main menu item, it forces them to the Log In screen, but all I can get it to do is simply go to the Access Denied Page.
How can I get the same functionality without having to start again from scratch?
TIA,
---JC
_________________
---On a campaign for more examples and better docs! |
|
|
Richard Gutery
|
Posted: 12/18/2004, 11:34 AM |
|
I'm assuming that by "Access is Denied" this is a Windows IIS Box???
If so, check your NTFS perms. If it is a Unix Box, check permissions using
chmod.
This error is generally (actually almost always) a File/Dir security issue.
|
|
|
Don Safar
|
Posted: 12/19/2004, 6:59 PM |
|
In the After Initialize event of the access denied page check to see if the
user is logged in (language dependent, php below)
global $Redirect;
if(!strlen(CCGetUserID())):
$Redirect = "Login.php";
end if;
If the user is logged in, they will see whatever you do on the access denied
page, if they are not logged in, they will be redirected to the Login page.
|
|
|
|