PHP Form Help

Out of context: Reply #1

  • Started
  • Last post
  • 3 Responses
  • mikotondria30

    When the server generates a session and variables, then they're uniquely tied to the browser session of each user; in theory you could run 1000s of sessions with the same variables on the same box, and it should work fine.
    That's what I'd be thinking of before I tried to debug this arrangement - you need to isolate exactly when of the 'sometimes' you're getting this error. Echo out the $_SESSION['tkn'] and $_POST['tkn'] values in that section where you throw the error, see why and how they're different:
    Above the echo "Invalid data!", see:
    http://pastebin.com/vUeekjxb

View thread