Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Include a session specific url parameter in the session timeout page
#1
We have a web application with a static session timeout page looking like this:

Code:
<html>

<head>
<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>RapidReach logout</title>
</head>

<body>

<table border="0" width="100%">
  <tr>
    <td width="100%" bgcolor="#FFFFFF"><img border="0" src="/img/TopImage_RR.png" width="594" height="48"></td>
  </tr>
  <tr>
    <td width="100%"><b>Your session is no longer valid. You have been logged out due to inactivity or too many simultaneous sessions.</b></td>
  </tr>
  <tr>
    <td width="100%"><a href="/">Click here to login again.</a></td>
  </tr>
</table>
&nbsp;
</body>

</html>

A user in the web application is associated to an account. Some accounts have a url-parameter in their login-url. For a session that belongs to such account, I would like to include that url parameter in the "Click here to login again." link, e.g. href="/?sso=MyAccount". Always including the sso url parameter but having it empty for some (most) accounts would also work. How would I do this in the best way?

Also, I would like to do the same thing in the default logout page (with very similar HTML code as above) (although I suspect that most customers in question would override the logout url). So same question on this (I suspect in might be easier than the session timeout case?).

Best regards

Magnus Oskarsson
Reply


Messages In This Thread
Include a session specific url parameter in the session timeout page - by magosk - 03-05-2025, 09:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)