note 27247 added to function.session-readonly

From: Date: Thu, 28 Nov 2002 21:49:25 +0000
Subject: note 27247 added to function.session-readonly
Groups: php.notes 
Request: Send a blank email to php-notes+get-40084@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. -- http://www.php.net/manual/en/function.session-readonly.php http://master.php.net/manage/user-notes.php?action=edit+27247 http://master.php.net/manage/user-notes.php?action=delete+27247 http://master.php.net/manage/user-notes.php?action=reject+27247

« previous php.notes (#40084) next »