sign_potal_off.jsp 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <%@ page contentType="text/html;charset=utf-8"%>
  2. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  3. <%
  4. ctx.init(request, response);
  5. if( request.getProtocol().compareTo("HTTP/1.0") == 0 ) {
  6. response.setHeader("Pragma", "no-cache");
  7. }
  8. else if( request.getProtocol().compareTo("HTTP/1.1") == 0 ) {
  9. response.setHeader("Cache-Control", "no-cache");
  10. }
  11. response.setDateHeader("Expires", 0);
  12. session.invalidate();
  13. //2008 07 03 추가 포털에서 로그아웃 시 연동
  14. String acl_back_to = ctx.get("acl_back_to");
  15. if(acl_back_to.equals("")){
  16. %>
  17. <META HTTP-EQUIV="refresh" Content="1.0; url=/supplierLogin.screen">
  18. <BR><BR><BR>
  19. <CENTER>Sign off...</CENTER>
  20. <%
  21. }else{
  22. %>
  23. <!--FORM name="form" method="post" target="_parent" action="about:blank"-->
  24. <FORM name="form" method="post" target="_parent" action="<%=acl_back_to%>">
  25. <SCRIPT language="javascript">
  26. // parent.close();
  27. document.form.submit();
  28. </SCRIPT>
  29. </FORM>
  30. <% } %>