It's not really happening at the moment, I'm a freelance developer now. But after having a discussion with a friend going through the same trouble, I had the question.
I probably didn't ask as much as I should/could have, I possibly asked 5-10% of employers, and when I had either no response or a negative 'you didnt suit our needs', I guess I just gave up. I think it's extremely dependent of the company, and surprisingly the person you're dealing with directly inside the company.