php SESSION not working with version 2.1 (2 posts)

  1. ldhertert
    Posted 8 years ago #

    I wrote a plugin called anotherFlickr that uses ajax to load pictures from a flickr account. On the callback page, I use session variables to store information between callbacks. I also put an include to wp-config.php so that I can get wordpress settings. This worked fine up until the recent update to 2.1. Now it seems that I can't use php session variables any longer. Here's a quick sample I wrote to demonstrate the problem:

    require_once( "../../../wp-config.php");
    print "You have visited this page $counter times during this session";

  2. ldhertert
    Posted 8 years ago #

    Is there a better place I can ask this question? I'd really like to find out an answer.

Topic Closed

This topic has been closed to new replies.

About this Topic