Session variable unset :( (1 post)

  1. Mads Phikamphon
    Posted 9 years ago #

    Argghhh, my session variable seems to unset when I change page.

    I set the variable in one post like this:
    <phpcode><?php $_SESSION['SubRegionId'] = '10';?></phpcode>

    And then I assume that I can access it in a second post when I click the link to it in the first post ("Kort over Forenede Arabiske Emirater").

    Unfortunately the session variable is gone when the second page is loaded.

    I have checked my code several times and I have no unset of the session variable anywhere.

    Any idea what is going wrong?

    Thanks, Madsphi

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 9 years ago by Mads Phikamphon
  • This topic is not resolved
  • WordPress version: 2.1.1