Session sharing rails3 & php

hi

i’m using cookie store and my rails3 runs under passenger. my php
script got a own virtual host. cookie domain is “.foo.bar”.
but reading the rails-cookie in php gives me still a completetly
different sessionid.
can someone shed some light on this?
thx