[wp-hackers] Sessions and parse query

scribu mail at scribu.net
Fri Jun 15 23:12:19 UTC 2012


On Fri, Jun 15, 2012 at 10:44 PM, Dion Hulse (dd32) <wordpress at dd32.id.au>wrote:

> On 15 June 2012 15:42, scribu <mail at scribu.net> wrote:
> > WordPress does not play well with sessions. Try using a plain cookie
> > instead
>
> huh? How do you come up with that conclusion?
> Plenty of plugins use Sessions, and sessions are simply a Cookie with
> a Server side data store.
>

I guess I saw too many people having trouble with sessions, but it probably
was because of wp_unregister_globals(). Thanks Rafael Ehlers for the link
to the useful tutorial.

Joaquin, you can hook into the 'request' filter to feed the cookie/session
value into the $args array.

-- 
http://scribu.net


More information about the wp-hackers mailing list