note 27247 rejected from function.session-readonly by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Fri, 29 Nov 2002 02:18:56 +0000 |
| Subject: | note 27247 rejected from function.session-readonly by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40097@lists.php.net to get a copy of this message | ||
I'm surprised no one has pointed this out yet...
It's counter-intuitive to have session_readonly() to open a session and yet have a function
named session_write_close() to close it. Perhaps session_write_close() should have an alias named
session_close() to make this less confusing to new users.
P.S. Yes, I realize closing a script will automatically close a session, but a particular script
I'm using opens a session readonly, reads data from it, and closes it... namely because it
includes another file that opens the same session afterwards.