I had this problem recently and solved it by replacing the thermostat. This is located inside the drum where you will see a round silver disc type object directly above the door. Simply remove a couple of screws and pop the old one out (make sure the dryer is disconnected from the electricity supply first).
Gordon Blain
November 2005