session_reset() and session_abort() to send errors
| From: | Julien Pauli | Date: | Thu, 20 Mar 2014 16:01:40 +0000 |
| Subject: | session_reset() and session_abort() to send errors | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-73338@lists.php.net to get a copy of this message | ||
Hi,
I was just reviewing the new code and functions in 5.6 for session module.
I noticed that session_reset() and session_abort() came in.
I would suggest those functions to throw errors when the session is not
initialized.
This is already done for all other session related functions
(session_reset_id(), session_regenerate_id(), session_destroy()).
Thoughts ?
Julien Pauli