Method for cleaning and/or deodorizing a toilet bowl or urinal. In one embodiment, the method involves directly applying an agent to the toilet bowl or urinal. The agent adheres to the toilet bowl or urinal and can be flushed away only after a relatively large number of flushing operations. The agent includes fillers from the group of surfactants and also an adhesion promoter. The viscosity of the agent is at least 30 Pas, measured using a Haake viscometer, plate/plate system, plate diameter 10 mm, at a shear gradient of 2.62 s−1 and 20° C. and the agent is so sticky that it can serve to attach bar-shaped agents to the toilet bowl or urinal, wherein the concentration of the surfactants in the case of an adhesion promoter from the group of polvalkyleneimines is between 7 and 60% by weight. The agent may have associated with it one or more bar-shaped compositions.