07-05-2007 04:13 PM
07-13-2007 05:15 AM
01-18-2008 01:08 PM
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import="org.alfresco.webservice.util.AuthenticationUtils"%>
<pre>
Testing Alfresco Connectivity
<%
AuthenticationUtils.startSession("website", "website");
%>
Started Alfresco Session
Ticket: <%=AuthenticationUtils.getTicket()%>
Thread: <%=Thread.currentThread()%>
Sleeping 30 seconds
<%
out.flush();
Thread.currentThread().sleep(30000);
%>
<%
try
{
AuthenticationUtils.endSession();
}
catch(Exception e)
{
request.setAttribute("endSessionException", e);
}
%>
<c:choose>
<c:when test="${!empty endSessionException}">Error Ending Alfresco Session
<table border=1><tr><td>${endSessionException}</td></tr></table>
</c:when>
<c:otherwise>Closed Alfresco Session</c:otherwise>
</c:choose>
</pre>
Testing Alfresco Connectivity
Started Alfresco Session
Ticket: TICKET_ea351ff97650d807dd9c93f1428fca28f13d7689
Thread: Thread[http-8080-1,5,main]
Sleeping 30 seconds
Ended Alfresco Session
Testing Alfresco Connectivity
Started Alfresco Session
Ticket: TICKET_ea351ff97650d807dd9c93f1428fca28f13d7689
Thread: Thread[http-8080-3,5,main]
Sleeping 30 seconds
Error Ending Alfresco Session
org.alfresco.webservice.util.WebServiceException: Error ending session.
01-23-2008 12:52 AM
02-08-2008 04:57 AM
02-08-2008 05:06 AM
02-08-2008 05:22 AM
02-08-2008 06:23 AM
02-13-2008 05:54 PM
Thanks Mark for your quick reply but 30 days for a Department of a public Administration is just a moment Smile
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.