Half-cells with permeable membranes