What PHP's session handler teaches us about atomicity
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 [www.amitmerchant.com]