Re: session_regenerate_id(true) by default

From: Date: Tue, 22 Oct 2013 12:22:58 +0000
Subject: Re: session_regenerate_id(true) by default
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-69763@lists.php.net to get a copy of this message
On Tue, 22 Oct 2013, Patrick Schaaf wrote: > BTW and a bit off-topic: is there a good reason for > session_write_close not returning a success indicator? Right now it > spams the log with a misleading message, but gives me no chance (short > of setting up a global error handler to catch and handle that message) > to see (and maybe retry / use a fallback) on failure It's likely because the utility function that throws the warning is also called during request shutdown, where you can not really show errors anymore. Logging errors is still fine at that stage. cheers, Derick

« previous php.internals (#69763) next »