They are not helpful for various reasons. e.g. if you need to ask whether a session was started, your architecture is broken (a central place needs to manage sessions; that single place must know whether a session has been started).
Why? And how can it know whether a session was started if it can't check whether it was started?
Also, the concept of session_id_exists is fundamentally broken (think of atomic file creation). That is why there is no such function.
That's true - although we could have some sort of test&set functionality if we wanted to. Not sure if it's that useful though.
Zeev
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php