doing the first implementation, I tried that, but could not understand why I have to throw the entire raw-post. So I skipped this and did the code above.
I actually don't understand 100% how the code of qa_post_is_by_user() is working. If I see right, it is doing the same that I am doing in the code above?
if (@$post['userid'] || $userid)
return strcmp($post['cookieid'], $cookieid)==0;