1 Reply Latest reply: Dec 9, 2013 10:04 AM by Christian Neumueller-Oracle RSS

    wwv_flow_custom_auth_std.logout not working in 4.2.3 (clarification please)

    Damir Vadas

      Hi

      According advise in wwv_flow_custom_auth_std.logout not working in 4.2.3 to open new thread here it is.

       

      THX for an answer. I was "somehow" aware that in 4.2.3 something was changed in logout logic ... So this is how I did solve (please tell me if this is OK):

      1) Copied old logout page (page 33) to page 34

      2) create new page 33 where in, "On load before Header", I have placed as advised:
      BEGIN

        BEGIN

          apex_authentication.LOGOUT (p_session_id => :SESSION, p_app_id => :APP_ID);

         EXCEPTION

           WHEN APEX_APPLICATION.e_stop_apex_engine THEN

             NULL;

        END;

        SYS.OWA_UTIL.redirect_url(34);

        APEX_APPLICATION.stop_apex_engine;

      EXCEPTION

        WHEN OTHERS THEN

          AUTO_LOG_ERROR_APEX_WEB_APP ('Redirect to 34 (old LOGOUT_PAGE)');

      END;

      So this code do all what is needed (I assume all) and redirect to mine old page 33 (now 34) where I reset all other values and show some information on that page that I want.

       

      On "Edit Security Attributes" in Apex design, I have redefined:

      On session timeout direct to this URL: f?p=&APP_ID.:33

      On session idle time timeout direct to this URL: f?p=&APP_ID.:33


      In previous version I had in "Session Not Valid" URL:

      "f?p=&APP_ID.:33:&SESSION.

      which is now defined as:

      f?p=&APP_ID.:34:&SESSION.

      as you see to page 34 which do not do logout (I assume this is done already so I didn't want to make again).

      Please advise if something is wrong here ... for me now all seems to be running OK...


      THX once again for your time and help, really appreciate.

      Brg

      Damir Vadas