Pharmaceutical dispenser with - a housing, - a medium reservoir, - a discharge opening, - a connecting duct which connects the medium reservoir to the discharge opening and - a detection device which is arranged in the region of the connecting duct and is designed to detect the medium flowing in the connecting duct, wherein - the connecting duct is connected in communicating manner to a pressure chamber, - the detection device includes a membrane which ∘ bounds the pressure chamber at least intermittently, ∘ includes an electrically conductive connecting portion (60, 60b) and ∘ is capable of being pressurized by a rise in pressure in the pressure chamber and is thereby capable of being deflected together with the conductive connecting portion (60, 60b), - the detection device exhibits at least one electrical mating contact surface (72, 74), with respect to which the membrane-side connecting portion (60, 60b) is capable of being displaced by application of pressure, so that by this means an electrical contact between the conductive connecting portion (60, 60b) and the mating contact surface (72, 74) is created or broken, characterized in that - the membrane is formed in multiple layers and comprises at least: ∘ a plastic layer and ∘ an electrically conductive connecting layer which forms the conductive connecting portion, or - the membrane exhibits at least one layer of an electrically intrinsically conductive plastic or - the membrane consists at least intermittently of a plastic that is provided with at least one conductive filler, preferentially with graphite. - a housing, - a medium reservoir, - a discharge opening, - a connecting duct which connects the medium reservoir to the discharge opening and - a detection device which is arranged in the region of the connecting duct and is designed to detect the medium flowing in the connecting duct, - the connecting duct is connected in communicating manner to a pressure chamber, - the detection device includes a membrane which ∘ bounds the pressure chamber at least intermittently, ∘ includes an electrically conductive connecting portion (60, 60b) and ∘ is capable of being pressurized by a rise in pressure in the pressure chamber and is thereby capable of being deflected together with the conductive connecting portion (60, 60b), ∘ bounds the pressure chamber at least intermittently, ∘ includes an electrically conductive connecting portion (60, 60b) and ∘ is capable of being pressurized by a rise in pressure in the pressure chamber and is thereby capable of being deflected together with the conductive connecting portion (60, 60b), - the detection device exhibits at least one electrical mating contact surface (72, 74), with respect to which the membrane-side connecting portion (60, 60b) is capable of being displaced by application of pressure, so that by this means an electrical contact between the conductive connecting portion (60, 60b) and the mating contact surface (72, 74) is created or broken, characterized in that - the membrane is formed in multiple layers and comprises at least: ∘ a plastic layer and ∘ an electrically conductive connecting layer which forms the conductive connecting portion, or ∘ a plastic layer and ∘ an electrically conductive connecting layer which forms the conductive connecting portion, or - the membrane exhibits at least one layer of an electrically intrinsically conductive plastic or - the membrane consists at least intermittently of a plastic that is provided with at least one conductive filler, preferentially with graphite.