indeyets / appserver-in-php

Generic HTTP applications approach for PHP5.3+ (inspired by Rack and WSGI)
BSD 3-Clause "New" or "Revised" License
291 stars 23 forks source link

Bulletproof session file handling #18

Closed bergie closed 13 years ago

bergie commented 13 years ago

Session handling had an issue where if user had a session cookie, but session file had been removed (was empty), then FileStorage::unserialize would die with an exception.

This commit fixes that.