Forum Discussion

EastCoast_16835's avatar
EastCoast_16835
Icon for Nimbostratus rankNimbostratus
Aug 18, 2017

How to Preserve APM landing URI

A simple question on APM authentication.

 

Let's say the user lands to F5 APM with URI /somepage.htm for authentication.

 

After the APM authentication is completed successfully the user gets automatically redirected to the original URI /somepage.htm. This is OK.

 

However, if the user exceeds the time allowed for APM authentication, hits the white dialog "Session Expired/Timeout" and clicks on "Start a New Session", the original landing URI is lost and changed to "/". Thus after a successful authentication the user gets to the application root directory instead of /somepage.htm, which breaks the application flow.

 

How can we preserve the original landing URI after the APM policy timeout?

 

  • Hi,

     

    that's an issue with the javascript used when clicking the button.

     

    As I remember, it's hardcoded to redirect the user to /

     

    You must change the javascript to make sure to redirect the user to the original landing uri

     

    hope it help

     

    Yann

     

4 Replies

  • Hi,

     

    that's an issue with the javascript used when clicking the button.

     

    As I remember, it's hardcoded to redirect the user to /

     

    You must change the javascript to make sure to redirect the user to the original landing uri

     

    hope it help

     

    Yann

     

    • EastCoast_16835's avatar
      EastCoast_16835
      Icon for Nimbostratus rankNimbostratus

      Thank you for the prompt response. It looks like in Customization I can replace SESSION_RESTART_URL with %{session.server.landinguri} and it works perfectly.

       

  • Hi,

     

    that's an issue with the javascript used when clicking the button.

     

    As I remember, it's hardcoded to redirect the user to /

     

    You must change the javascript to make sure to redirect the user to the original landing uri

     

    hope it help

     

    Yann

     

    • EastCoast_16835's avatar
      EastCoast_16835
      Icon for Nimbostratus rankNimbostratus

      Thank you for the prompt response. It looks like in Customization I can replace SESSION_RESTART_URL with %{session.server.landinguri} and it works perfectly.