Session Varible Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • melguy
    New Member
    • Oct 2006
    • 1

    Session Varible Problem

    Hello Friends,
    Currently we have transferred the site from one server to another.
    I am having trouble with to access variables are posted on the server.
    If I use $_POST or $SESSION to access variables it does work.
    For the other sites on that server it is not the problem.
    Do any know what would be the actual from problem with site we have just transferred?
    Cheer…
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    One reason could be that you run a PHP version lower then 4.1.0, that is where $_POST, $_SESSION and others were introduced.

    But since other sites on that same server work ok then either (a) the handling of these variables in your script(s) is incorrect or (b) there is another error in your php scripts (such as not initializing the $_SESSION or not $_POSTing).

    Maybe all would be clearer when you show us (part of) your code that handles these arrays.

    Ronald :cool:

    Comment

    Working...