Session timeout - error page instead of re-authentication page in SPS
search cancel

Session timeout - error page instead of re-authentication page in SPS

book

Article ID: 269169

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction

 

When running CA Access Gateway (SPS), when a browser gets redirected to the defined error page, the user has to manually close the browser and login again. How to automatize this, so the browser gets automatically sent back to the login page without closing the browser and starting over again?

 

Resolution

 

At first glance, if the error page is coded to remove the cookie and after some seconds to redirect the user to the login page, that will achieve the described flow.

So, in the page code

https://federation.example.com/affwebservices/public/custom/error.html

Execute some javascript code to delete the cookie and redirect the browser to the login page or intermediary page (1)(2).

 

Additional Information

 

(1)

    How to delete a cookie?
    

(2)

    How to use JavaScript to redirect a webpage after 5 seconds?