Concurrent PHP Sessions -


please consider sequence below.

  1. script session_start() , creates session variables.
  2. script session_write_close().
  3. script calls script b ajax.
  4. script continues, since ajax asynchronous.
  5. script b session_start() , accesses session variables script set up.
  6. 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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -