[wp-hackers] Why WordPress killing Session ?

Kai Jacobsen kai at ungestaltbar.de
Tue Feb 12 14:25:31 UTC 2013


you might want to take a look at eric mann's solution:

http://eamann.com/tech/introducing-wp_session/
> Assuming you're using old versions of something - a helpful link:
> http://www.thinkingoutloud.co.za/content/20091012/php_wordpress_and_sess
> ion
>
>
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Marko
> Heijnen
> Sent: 12 February 2013 14:22
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] Why WordPress killing Session ?
>
> 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
> _______________________________________________
> 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