public static boolean logoutCheck(String c_id) {
		 Connection conn;
		 boolean check=false;
	      try{
				Class.forName("com.mysql.jdbc.Driver");
				conn = DriverManager.getConnection("jdbc:mysql://" + Server.DBIP + ":3306/po_tweeter", "POMA", "9353");
	
				String sql;
				sql = "update member set log='logout' where id=?;";
				java.sql.PreparedStatement pstmt = conn.prepareStatement(sql); // ˻ ȭϴ  ˻ϱ  PreparedStatement Ŭ
				// α׾ƿ αüũ Ʈ Ŵ.
				pstmt = conn.prepareStatement(sql); //  ˻ ȭϴ  ˻ϱ  PreparedStatement Ŭ
				pstmt.setString(1, c_id); //  ȭϴ    ϴ  ̸ setInt(index,) ̷  ϸ.
				int rs = pstmt.executeUpdate();
				
				if(rs==1)
					return check=true;
				
				String date=Date.getdateS();
				sql = "update member set date=? where id=?;";
				pstmt = conn.prepareStatement(sql); //  ˻ ȭϴ  ˻ϱ  PreparedStatement Ŭ
				pstmt.setString(1, date); //  ȭϴ    ϴ  ̸ setInt(index,) ̷  ϸ.
				pstmt.setString(2, c_id); //  ȭϴ    ϴ  ̸ setInt(index,) ̷  ϸ.
				pstmt.executeUpdate();
				
				
				conn.close(); //  
	      }
	      catch(Exception e )
	      {
	          System.out.println("DB  "+e);
	      }
	      return check;
	}