The present invention relates to compositions which adhere to mucous membranes comprising a polyol, a swelling polymer selected from the group consisting of celluloses and a derivative thereof, an inorganic salt comprising divalent cations and a solid waxy surfactant. The invention also relates to the method of preparation of said compositions and uses thereof.