Útskráningarkóðinn frá Inna.is
Sent: Lau 29. Ágú 2009 15:05
Sælir
Var á innu.is þegar ég fékk þetta allt í einu...
Var á innu.is þegar ég fékk þetta allt í einu...
Kóði: Velja allt
<%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
<%@ page language = "java" errorPage="/errorpage.jsp" import = "java.io.*, java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*, uff.*" contentType="text/html;charset=WINDOWS-1252" %>
<%--
Höfundur: Marsibil I Hjaltalín, desember 2000
Lýsing:
Skrá sig út úr kerfinu
Breytingar:
Nafn Texti Dags.
----------------------------------------------------------------------
XXXXXXX XXXXXXXXXXXXXXXXXXXXXX DD.MM.YYYY
--%>
<%--
<%@ include file="haus.jsp" %>
--%>
<%--
if ( session.getAttribute("userId") != null ) { %>
<%
<jsp:useBean id="login" class="uff.Login" scope="request">
<%
login.initialize(application, session , request, response, out, "inna_bc_InnaAppModule.NotendurLogView");
login.aftengja();
%>
</jsp:useBean>
<%
HttpSession s = request.getSession(false);
if ( s != null )
s.invalidate();
%>
<% // ReleaseApplicationResources %>
<jsp:useBean class="oracle.jbo.html.databeans.RowsetNavigator" id="release" scope="request" />
<%
release.initialize(application,session, request,response,out,"inna_bc_InnaAppModule.JaNeiView");
release.setReleaseApplicationResources(true);
release.releaseApplicationResources();
%>
</jsp:useBean>
<%
//session.invalidate();
String [] sValues = session.getAttributeNames();
System.out.println(new Date() + " " + request.getRequestURI() + " " + session.getAttribute("SkoliId") + " " + session.getAttribute("NotandiId") + " " + session.getAttribute("NotandiNafn") + " skráir sig út " + (new java.util.Date()).toString() + " " + sValues.length);
for ( int i = 0; i < sValues.length; i++)
session.removeAttribute(sValues[i]);
} --%>
<html>
<head>
<link rel=STYLESHEET TYPE="text/css" href="<%=session.getAttribute("CSSURL")%>">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</head>
<body>
<jbo:ApplicationModule id="InnaAppModule" definition="DataBindings.InnaAppModuleDataControl" releasemode="Stateless" />
<jbo:DataSource id="dsJaNei" appid="InnaAppModule" viewobject="JaNeiView" />
<jbo:DataWebBean id="titill" datasource="dsJaNei" wbclass="uff.Init" />
<%
titill.checkIfLoggedIn();
%>
<br><br>
<h2><%= Translation.getTranslationString("texti.TengingRofin",(String)session.getAttribute("DefaultLanguageId")) %></h2>
<p><%= Translation.getTranslationString("texti.TengingVidKerfidHefurVeridRofin",(String)session.getAttribute("DefaultLanguageId")) %></p>
<jbo:DataWebBean id="logout" datasource="dsJaNei" wbclass="uff.Login"/>
<%
logout.aftengja();
//session.invalidate();
String [] sValues = session.getValueNames();
//System.out.println(new Date() + " " + request.getRequestURI() + " " + session.getAttribute("SkoliId") + " " + session.getAttribute("NotandiId") + " " + session.getAttribute("NotandiNafn") + " skráir sig út " + sValues.length);
for ( int i = 0; i < sValues.length; i++)
session.removeAttribute(sValues[i]);
%>
<script language="JavaScript">
//window.top.location.href = window.top.location.href;
window.top.location.reload(true);
//self.parent.location.reload(true);
</script>
</body>
</html>
<%
try {%>
<jbo:ReleasePageResources releasemode="Stateless" />
<%} catch(Exception e) {
uff.Debug.write("Villa í releasePageResources Menu");
}
// session.invalidate();
%>