session.jsp 854 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <%@ page language="java" contentType="text/html; charset=euc-kr"%>
  2. <%
  3. // JSESSIONID 값을 가져와서 Launcher 띄울 때 넘겨준다.(서버와 컨테이너 고정용)
  4. String sessionVal = session.getId();
  5. %>
  6. <!DOCTYPE html>
  7. <HTML>
  8. <HEAD>
  9. <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
  10. <meta http-equiv="X-UA-Compatible" content="requiresActiveX=true">
  11. <TITLE>HIMED2 Login Before Page</TITLE>
  12. <SCRIPT LANGUAGE="javascript">
  13. function fn_load() {
  14. var msg = "<%=sessionVal%>";
  15. window.TOBEHTML.FireUserNotify("kuxpsess|" + msg);
  16. }
  17. if (!window.TOBEHTML) {
  18. window.TOBEHTML = {};
  19. }
  20. window.TOBEHTML.FireUserNotify = function(userdata) {
  21. var parent = window.TOBEWEBBROWSER;
  22. if (parent) {
  23. parent.$fire_onusernotify(parent, userdata);
  24. } else {
  25. window.document.title = userdata;
  26. }
  27. }
  28. </SCRIPT>
  29. </HEAD>
  30. <BODY onload="fn_load()">
  31. </BODY>
  32. </HTML>