PHP cookies in a session handler
- by steve
I have run into a very interesting problem trying to debug my custom php session handler. For some reason unknown to me I can set cookies all the way through the session handler right up until the very start of the write function.
As far as I know session handler calls go in this order.
open - read - write - close
The open function sets a cookie…