0 Replies Latest reply: Mar 6, 2013 4:29 AM by AquaNX4 RSS

    APEX FLOW REDIRECT

    AquaNX4
      Good Day Gentlemen: I have this particular Session Verify Function code written for one of my authentication schemes:

      BEGIN
      IF APP_USERS.is_session_valid THEN
      APP_USERS.set_last_activity_date;
      return true;
      ELSE
      OWA_UTIL.redirect_url(
      owa_util.get_cgi_env('request_protocol')||
      '://'||
      owa_util.get_cgi_env('server_name')||
      ':'||
      owa_util.get_cgi_env('server_port')||
      owa_util.get_cgi_env('script_name')||
      '/wwv_flow_custom_auth_std.logout?p_this_flow='||
      :APP_ID||'&p_next_flow_page_sess='||:APP_ID||':102');
      RETURN false;
      END IF;
      END;

      However, when a session does time out, the expired DB session user gets directed to a "Web Page Not Found". Is there something wrong with the syntax here? Any and all help would greatly be appreciated, Thank you