From:             Maxim Derkachev <[EMAIL PROTECTED]>
Operating system: 
PHP version:      4.0.4pl1
PHP Bug Type:     Feature/Change Request
Bug description:  Add a 'readonly' possibility to the session module

Just faced the fact that the possibility to call session 'readonly' 
should be added. 
For example, when somebody calls a framed pages where all 
frames are php scripts that needs session variables. But in this 
case only one of them should be allowed to write session state, 
because every frame would write session state in an unpredictable order, 
and variables registered/changed in one frame could be overwritten 
by other frames, and that would definitely break an application. 
I suggest session_start could take an optional READONLY flag to 
disable write of the session data during the page shutdown.
The idea is similar to call page_close() on only one frame in a framed page in 
PHPLib-based applications.


-- 
Edit Bug report at: http://bugs.php.net/?id=8978&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to