How to retrieve record based on session variable using zend framework+doctrine


I had a problem with my system. I don’t know how to manipulate my controller.
I’m right now using doctrine 1.2.3 and zend framework 1.10.1 .

I want to retrieve record from database based on session variable, so I can insert into form.