Project

General

Profile

« Previous | Next » 

Revision 2219

Added by sgarg over 18 years ago

Added code to add and remove cookie from the index.jsp when a person logs in or logs out.

View differences:

include_login.jsp
68 68
      }
69 69
      return true;
70 70
    } 
71
    <%=(isLoggedIn)?
72
        "   document.cookie = \"JSESSIONID=" + sess_sessionId + ";"
73
        +"                  path="          + CONTEXT_NAME  +  "\";\n"
74
        :"  document.cookie = \"JSESSIONID=" + sess_sessionId + ";"
75
        +"                  path="          + CONTEXT_NAME  +  ";"
76
        +"                  expires=Thu, 01-Jan-70 00:00:01 GMT\";\n"
77
    %>
71 78
  </script>
72 79
</head>
73 80

  

Also available in: Unified diff