[wp-hackers] Why WordPress killing Session ?

Otto otto at ottodestruct.com
Tue Feb 12 16:21:57 UTC 2013


On Tue, Feb 12, 2013 at 8:19 AM, Sinan <sinan at sinanisler.com> wrote:
> But wordpress writen on php and sessions is core features of php.

... and sessions are not configured correctly on the large majority of
web-hosting solutions out there.

A surprisingly large number of web hosting configurations have
sessions enabled, but have the sessions directory configured to be
unwritable. Which results in some rather fun error messages whenever
you try to use them.

Sessions are, in general, a bad idea. Best to avoid them if at all
possible, unless you are writing code to run in an environment you
have full control over.

-Otto


More information about the wp-hackers mailing list