Welcome, Guest. Please login or register.

Author Topic: A PHP problem  (Read 3398 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: A PHP problem
« on: June 06, 2009, 07:43:20 PM »
Quote from: motorollin;509638
I should add that this problem appears to be intermittent...


What is your session timeout?

I would add that I never use session variables in quite this way, either. My preferred method is to represent any complex session data structures as objects, use them directly and serialize them into the $_SESSION at the end of script execution. When the page next loads, the object is unserialized from the session if it exists, or is constructed from scratch if it doesnt.
int p; // A