aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-06-26 14:54:28 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-06-26 14:54:28 +0000
commit52f68cdb1bbd52634b435e2e8edd6851e8825727 (patch)
tree626845d91a20ee279931ff421bd6f73f28edb310
parent37553c60c9b4c98b7e696d6fbf01fae4ad84eb69 (diff)
downloadmoa-id-spss-52f68cdb1bbd52634b435e2e8edd6851e8825727.tar.gz
moa-id-spss-52f68cdb1bbd52634b435e2e8edd6851e8825727.tar.bz2
moa-id-spss-52f68cdb1bbd52634b435e2e8edd6851e8825727.zip
Zwischensicherung js-Script für Session-Beendigung
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@716 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r--spss.slinterface/pages/resultOverview.jsp35
1 files changed, 28 insertions, 7 deletions
diff --git a/spss.slinterface/pages/resultOverview.jsp b/spss.slinterface/pages/resultOverview.jsp
index 388efa77e..a334cb688 100644
--- a/spss.slinterface/pages/resultOverview.jsp
+++ b/spss.slinterface/pages/resultOverview.jsp
@@ -17,9 +17,30 @@
<html>
<head>
- <head><title>Bundeskanzleramt der Republik Österreich - Signaturprüfdienst</title></head>
+ <title>MOA SL - Signaturprüfdienst</title>
+ <script type="text/javascript">
+ var doTerminate = true;
+ var breakWhile = false;
+
+ function terminateSession()
+ {
+ if (doTerminate)
+ {
+ ref = "<%out.print(
+ ((at.gv.egovernment.moa.spss.slinterface.URLRewriter) application.getAttribute(at.gv.egovernment.moa.spss.slinterface.Constants.WSCP_URL_REWRITER_)).rewrite(
+ request.getContextPath() + "/return", request.getSession()));%>";
+ window.location.replace(ref);
+ }
+ doTerminate = true;
+ }
+
+ function doNotTerminate()
+ {
+ doTerminate = false;
+ }
+ </script>
</head>
- <body>
+ <body onunload="terminateSession()">
<table width="800px" align="center">
<tr>
<td>
@@ -28,16 +49,16 @@
<% out.print(
"src=\"" +
((at.gv.egovernment.moa.spss.slinterface.URLRewriter) application.getAttribute(at.gv.egovernment.moa.spss.slinterface.Constants.WSCP_URL_REWRITER_)).rewrite(
- request.getContextPath() + "/pages/images/aut-emb2.gif\"", request.getSession()) +
+ request.getContextPath() + "/pages/images/LogoMoa4c.png\"", request.getSession()) +
" alt=\"Republik Österreich\""); %>
></td>
- <td align="center"><b>Bundeskanzleramt der Republik Österreich - Signaturprüfdienst</b></td>
+ <td align="center"><b>MOA SL - Signaturprüfdienst</b></td>
</table>
<p>Nachfolgend finden Sie das Ergebnis der Prüfung der eingereichten elektronischen Signatur.</p>
<p>
- <a href="<%out.print(
+ <a onclick="doNotTerminate()" href="<%out.print(
((at.gv.egovernment.moa.spss.slinterface.URLRewriter) application.getAttribute(at.gv.egovernment.moa.spss.slinterface.Constants.WSCP_URL_REWRITER_)).rewrite(
request.getContextPath() + "/return", request.getSession()));%>">
Zurück zur Anwendung ...</a>
@@ -231,7 +252,7 @@
// out.print("<a href=\"" + response.encodeURL(request.getContextPath() + dataInfo.getHashInputDataURL()) + "\"");
out.print(
- "<a href=\"" +
+ "<a onclick=\"doNotTerminate()\" href=\"" +
((at.gv.egovernment.moa.spss.slinterface.URLRewriter) application.getAttribute(at.gv.egovernment.moa.spss.slinterface.Constants.WSCP_URL_REWRITER_)).rewrite(
request.getContextPath() + dataInfo.getHashInputDataURL(), request.getSession()) +
"\"");
@@ -258,7 +279,7 @@
</table>
<p>
- <a href="<%out.print(
+ <a onclick="doNotTerminate()" href="<%out.print(
((at.gv.egovernment.moa.spss.slinterface.URLRewriter) application.getAttribute(at.gv.egovernment.moa.spss.slinterface.Constants.WSCP_URL_REWRITER_)).rewrite(
request.getContextPath() + "/return", request.getSession()));%>">
Zurück zur Anwendung ...</a>