indeyets/appserver-in-php — pull request #24 by xrstf (2012-08-09 13:11:38+00:00)
Title: fixed detection of session cookies

In line 191, the class checks if the lifetime is 0 by using ===. On my machine (PHP 5.3.9) , ini_get() actually returns a string and therefore the check fails. A cookie that expires immediately is created.

The proposed change makes the statement work and omits the expire declaration from the generated cookie header.