I am developing an application on my localhost that uses Nginx/PHP5-fpm from Dotdeb (Linux Neptune 3.3), and have come across a bug in the handling of assignment of session_id() that doesn't occur under Apache/Lightspeed with PHP (on my host server).
This code:
session_id($date . '-' . $userid . '-' . $_SESSION['till']);
has to be modified to be:
$_SESSION['id']=($date . '-' . $userid . '-' . $_SESSION['till']);
and then use the $_SESSION['id'] instead of the true session_id().
The symptom is that the session is destroyed when going to the next page.