• 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why session->destroy()?

#1
Currently working on a REST-based backend and as always the questions is about concurrency. Referring to https://codeigniter4.github.io/userguide...sions.html and the section "A note about concurrency". Why on earth would I use session->destroy()?!? This will clear out the session and all data. 
Isn't session_write_close() as soon as you can the correct way to handle concurrency?
Reply


Messages In This Thread
Why session->destroy()? - by tgix - 12-18-2019, 10:03 AM
RE: Why session->destroy()? - by dave friend - 12-19-2019, 12:05 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.