A few things can cause that problem with a gas dryer.
Could be a bad solenoid, a bad flame sensor or one of the thermal fuse's, could even be the timer or the gas control valve could be faulty.
I would do a search on your model dryer for problems and check one of the appliance forums..
_________________________
-----------------------------------
