I had the same problem while I was developing on a PHP4 server. As soon as I switched to a PHP5 server, my server stored the session variables properly and the redirect to the detai. page worked.
Scripts must be written for PHP5 only.
Maybe this will help someone else.
D.