We have a web application with a static session timeout page looking like this:
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
Code:
&thtml&t
&thead&t
&tmeta http-equiv="Content-Language" content="en"&t
&tmeta http-equiv="Content-Type" content="text/html; charset=windows-1252"&t
&ttitle&tRapidReach logout&t/title&t
&t/head&t
&tbody&t
&ttable border="0" width="100%"&t
&ttr&t
&ttd width="100%" bgcolor="#FFFFFF"&t&timg border="0" src="/img/TopImage_RR.png" width="594" height="48"&t&t/td&t
&t/tr&t
&ttr&t
&ttd width="100%"&t&tb&tYour session is no longer valid. You have been logged out due to inactivity or too many simultaneous sessions.&t/b&t&t/td&t
&t/tr&t
&ttr&t
&ttd width="100%"&t&ta href="/"&tClick here to login again.&t/a&t&t/td&t
&t/tr&t
&t/table&t
&t/body&t
&t/html&t
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