PHP Function Help

Out of context: Reply #4

  • Started
  • Last post
  • 6 Responses
  • deplifer0

    You have to be sure that you call the Same Session scope on each page.

    And start all the sesions with
    the session_start(); call

    And if you give this session a name be sure to call the same
    session.

    If different user are using this [app] be sure to have the session_scope to user_session.
    This can be done by settting

    So each user has it own session.

    And easy way to see what you have in the Session is by
    copy this lines of code:::

    [php]
    session_start();
    foreach($_SESSION as $element => $value){
    echo "$element : ".$_SESSION[$element]."";
    }
    [php]

    http://www.php.net/session

    If you are using Objects to store user Sessions this is a different story.

View thread