[wp-hackers] Why WordPress killing Session ?
Mike Schinkel
mike at newclarity.net
Tue Feb 12 18:53:35 UTC 2013
It might be interesting to hear from the original poster why he feels the need to use sessions. According to Eric Mann there are times when they are needed but most of the time they are the wrong tool for the job. Maybe we can easily suggest an alternative.
-Mike
On Feb 12, 2013, at 1:39 PM, William Satterwhite <whsatterwhite at gmail.com> wrote:
> Can someone supplement this thread with what WordPress utilizes in lieu of
> sessions? Maybe that could be used as an educational piece for the original
> poster and why they probably shouldn't use them.
>
> On Tue, Feb 12, 2013 at 10:09 AM, Marko Heijnen <mailing at markoheijnen.nl>wrote:
>
>> You can use basic session if you only deal with one server. Play with it
>> and do some research and you will find out how to do so.
>>
>> Op 12 feb. 2013, om 15:48 heeft Sinan <sinan at sinanisler.com> het volgende
>> geschreven:
>>
>>> So if we cant use basic sessions what we should use alternative of it?
>>> What Wp functions is alternative sessions.
>>>
>>>
>>> 2013/2/12 Marko Heijnen <mailing at markoheijnen.nl>
>>>
>>>> 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.
>>>>
>>>> Marko
>>>>
>>>> Op 12 feb. 2013, om 15:20 heeft Ryan McCue <lists at rotorised.com> het
>>>> volgende geschreven:
>>>>
>>>>> Marko Heijnen wrote:
>>>>>> It's really simple. WordPress doesn't kill sessions. It just doesn't
>>>> use them.
>>>>>
>>>>> In fact, you'll find that basically every e-commerce plugin for
>>>>> WordPress uses sessions, so it definitely doesn't kill them.
>>>>>
>>>>> If sessions aren't working, it's possible that:
>>>>>
>>>>> 1) You're not doing session_start() early enough. It needs to be done
>>>>> around the init hook (before body output)
>>>>> 2) A plugin is intentionally breaking them. Try disabling all other
>>>>> plugins to double-check this.
>>>>>
>>>>> --
>>>>> Ryan McCue
>>>>> <http://ryanmccue.info/>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> Sinan İŞLER
>>> sinanisler.com <http://www.sinanisler.com>
>>> fb.com/sinanisler
>>> _______________________________________________
>>> 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
>>
>
>
>
> --
> Hunter Satterwhite
> http://linkedin.com/in/hsatterwhite
> (252) 762-5177
> _______________________________________________
> 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