[wp-hackers] Why WordPress killing Session ?
Haluk Karamete
halukkaramete at gmail.com
Sat Feb 16 04:56:50 UTC 2013
I understand that the sessions by default is configured to work with
files. that's how PHP comes with.
http://www.php.net/manual/en/session.configuration.php
Given to two reasoning below, I'm curious to find out why the default is files?
db based storage solution is superior to file based solution.
db based solution won't have a problem with multiple servers.
On Fri, Feb 15, 2013 at 8:20 AM, Brian Layman
<wp-hackers at thecodecave.com> wrote:
> And sessions can work nicely on multiple servers, as long as there is a
> common storage place.
>
> What I've done in the past is to setup a single memcache server used for
> session storage by all of the web heads. It does not take up a lot of
> resources on the memcache server. So it probably won't require a dedicated
> machine. It works quite nicely when you are using something like
> SimpleSAMLphp, which requires sessions, integrated with the WordPress login
> process to give you SSO.
>
> Brian Layman
>
>
>
> On 2/15/2013 8:04 AM, Marko Heijnen wrote:
>>
>> Hey Rich,
>>
>> I said multiple servers and not a multisite installation.
>>
>> Marko
>>
>> Op 15 feb. 2013, om 14:02 heeft Rich Pedley <elfin at elfden.co.uk> het
>> volgende geschreven:
>>
>>> On 12/02/2013 14:22, Marko Heijnen wrote:
>>>>
>>>> Sessions is a feature of PHP but PHP has a lot of features.
>>>>
>>>> WooCommerce for example isn't using sessions anymore. Because
>>>> sessions don't work really well on multiple server. That's also the
>>>> reason why WordPress doesn't use them.
>>>
>>> Sorry to be a bit late to the party on this one.
>>>
>>> Sessions work fine on multisite for WordPress, if coded correctly. Though
>>> admittedly they are a cousin of the devil.
>>>
>>>
>>> Rich
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list