Hello ,

I was hoping someone maybe could help out with this issue.
We are trying to create a visible logout button on out php web site.

When I replace this casLogoutView.jsp file with the one below , nothing shows 
up.

Can anyone take a look ? Maybe you see something we do not.


--%>
<jsp:directive.include file="includes/top.jsp" />

<%--added by david--%>

<%
   Cookie cookie = null;
   Cookie[] cookies = null;
   // Get an array of Cookies associated with  DCIS
   cookies = request.getCookies();
   if( cookies != null ){
      for (int i = 0; i < cookies.length; i++){
         cookie = cookies[i];
         if((cookie.getName( )).compareTo("MOD_AUTH_CAS_S") == 0 ){
            cookie.setMaxAge(0);
            response.addCookie(cookie);
         }
      }
  }
  else{
      return;
  }
%>
                                <div id="msg" class="success">
                                                <h2><spring:message 
code="screen.logout.header" /></h2>

                                                <p><spring:message 
code="screen.logout.success" /></p>
                                                <p><spring:message 
code="screen.logout.security" /></p>
                                </div>
<jsp:directive.include file="includes/bottom.jsp" />


Thank You;

Chris Cheltenham
[email protected]<mailto:[email protected]>
SwainTechs
10 Walnut Grove Rd
Suite 110
Horsham, PA
19044

888-905-5767 / X407


-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to