anchor.diff:      String ssid = null;
       
       if(request.getCookies()!=null){
  +    	System.out.println("5getCookies:"+request.getCookies());
       	for(Cookie cookie:request.getCookies()){
       		if(cookie.getName().equals("account"))
       			account = cookie.getValue();
  +    		System.out.println("6account:"+account);
       		if(cookie.getName().equals("ssid")) ssid = cookie.getValue();
  +    		System.out.println("7ssid:"+ssid);
       	}
       }
       
       if(account!=null && ssid!=null){
  +    	System.out.println("calcMD5(account+KEY):"+calcMD5(account+KEY));
       	login = ssid.equals(calcMD5(account+KEY));
  +    	System.out.println("8login:"+login);
       }
       %>
       
  
positive.code: </head>
  <body>
  	<fieldset>
  		<legend><%=login?"Welcome Back!":"Please Login first!" %></legend>
  		<% if(login){ %>
  		Welcome,${cookie.account.value}.&nbsp;&nbsp;
  
negative.code:     request.setCharacterEncoding("UTF-8");
      response.setCharacterEncoding("UTF-8");
      String action = request.getParameter("action");
      System.out.println("1action:"+action);
      if("login".equals(action)){
      	String account = request.getParameter("account");
      	String password = request.getParameter("password");
      	System.out.println("2account+password:"+account+password);
      	int timeout = new Integer(request.getParameter("timeout"));
      	String ssid = calcMD5(account+KEY);
      	System.out.println("3account+KEY:"+account+KEY);
      	System.out.println("4ssid:"+ssid);
      	Cookie accountCookie = new Cookie("account",account);
      	accountCookie.setMaxAge(timeout);
      	
      	Cookie ssidCookie = new Cookie("ssid",ssid);
      	ssidCookie.setMaxAge(timeout);
      	System.out.println(ssidCookie);
      	response.addCookie(accountCookie);
      	response.addCookie(ssidCookie);
      	
  