Pam,
I have the same problem, I can get the pilot to light but it only stays lit when I hold the gas button. I've been told by my father in law that my thermocouple has packed up which is the reason why. It's a fix it job by a Corgi registered gas man/woman for my case.
Rob, March 2009