What PHP's session handler teaches us about atomicity 0 ▲ freek.dev 46 minutes ago · Tech · hide Amit Merchant explains how interrupted writes in PHP's file-based session handler could turn leftover session data into a security vulnerability. It's a useful example of why locking a file doesn't make an update atomic. Read more Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town