I had a similar problem. Not sure what year your car is or whether your problem is the same as mine. Here's a link to the discussion. Crank position sensor was problem.
http://forums.pelicanparts.com/boxster-cayman-forum/598662-hot-start-problem-99-boxster.html