delight-im / PHP-Cookie

Modern cookie management for PHP
MIT License
165 stars 48 forks source link

Make id() compatible with session_id() #3

Closed Synchro closed 8 years ago

Synchro commented 8 years ago

Fixes #2

ocram commented 8 years ago

Thank you very much!

This has been implemented in https://github.com/delight-im/PHP-Cookie/commit/f17d56dbc14722446aac0aeac2da26b6fc07f9b9 now. A minor fix was necessary in https://github.com/delight-im/PHP-Cookie/commit/af94058ad6462a3cf28ff6f17371f5f1a66a11a4 because PHP didn't accept null as "no arguments" here.