Concurrent PHP Sessions -
please consider sequence below.
- script session_start() , creates session variables.
- script session_write_close().
- script calls script b ajax.
- script continues, since ajax asynchronous.
- script b session_start() , accesses session variables script set up.
- script b terminates.
i assume script block after step 5 if tries write session data while script b running.
i assume script can still read session variables after step 5. is, script b executing session_start() nothing script a's ability read session variables.
do have right?
thanks
Comments
Post a Comment