[wp-hackers] PHP Session

Sam Angove sam at rephrase.net
Thu Jun 15 00:19:23 GMT 2006


On 6/15/06, Ryan <coder at localkinegrinds.com> wrote:
> I wrote a plugin for a customized search, and I wanted to store in
> $_SESSION a few variables when implementing data pagination.  However,
> $_SESSION seems to be clearing itself whenever I hit the 'next' or
> 'previous' pages.

It might be because WordPress doesn't use sessions at all. :) It
should work if you use the plugin to call session_start() somewhere,
but it's probably easier to put the variables on the URL.


More information about the wp-hackers mailing list