This type of headaches aren't characteristic for something serious as a brain cancer is.
Headache related to brain cancer has different qualities that the ones you are experiencing.
Headache that lasts 1 to 2 seconds, occurring either as single episodes or as brief repeated volleys, usually in the same spot, and one sided, is known as idiopathic (without known reason) stabbing headache.
The headache, often, resembles a stab from an icepick, nail, or needle.
Do you suffer from other type of headache, like migraine?
This sharp needle like pain is what I've been getting at the back of my head, both sides, for some months now. It didn't seem to warrant a doctor visit, I've had enough of those lately. Thanks, I'll put it down to idiopathic headache.
I get sharp pain in the back of my head on the right side that lasts as long as I am during with the air conditioning freezing me to death at work and I have to hold my skull. It hurts real bad. I have chronic pain but its do much worse in the cold. Right now in the warmth of my own home the pain is less but still there. I think I may have a pinched nerve or something...