I have just double check this.
It should fire the following event in your project java file.
No security object required.
Print somthing in this event and see what happen.

//[[SPIDER_EVENT<this_onSecurityCheckFailedEvent>
        public int this_onSecurityCheckFailedEvent(CSpProjectSecurityEvent event)
        {
                CShowMsgPage showMsgPage = new CShowMsgPage
                        ("Sorry, you are not authrized to access this page,     please 
use OK button to go to Login page.",     "PgLogin");
                showMsgPage.display();          
                return (STOP);
        }


"Glen Moore" <[EMAIL PROTECTED]> wrote:
>>I am having trouble setting up page flow restrictions. >>I have two pages:>>Page
         1: no page flow restrictions>>Page 2: page flow restrictions are set.>>Code 
in the
         Project will redirect to login page in:> 
onSessionTimeout,onSecurityCheckFailed,
         and this_onSecurityCheckFailed events. >>A book mark for page 1 displays the 
login
         page via the onSessionTimeout event. >>A book mark for page 2 produces a 
blank page.
         >>Is there something I'm missing? >Do I need to have code in a security 
object?>Do
         I need addProjectSecurityListener? >>Thanks in advance    
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to