APEX 4.1 Sentry function name loops when the function return false
Jo886716Sep 22 2011 — edited Oct 13 2011Hi,
I use Apex 4.1 with Oracle 11g.
I made an application with a Login Page and an 'Application Express authentication scheme'.
The setting for the 'authentication scheme' is
Scheme Type - Custom
Sentry Function Name: my_package.sentry_function
function sentry_function return boolean
begin
if condition then
return true;
else
return false;
end if;
end;
When I run the application the function is called but when the sentry_function returns TRUE it'S OK, the login Page appears, but when the function return FALSE the application doesn't work because the sentry_function loops.
Could you help me.
Thank you in advanced.
Jo