I came across an unusual situation in a PHP based shopping cart where the normal page loads would have different session data than the AJAX callbacks. I came up with a simple solution but I don’t really like it because it seems inherently insecure. But I’ll post it here, and let the world decide. The [...]