Show us all the codes of the 3 files.

解决方案 »

  1.   

    不可能!除非你../../common/hmsConf.inc中有输出
      

  2.   

    在你的包含页面加上print_r($_SESSION);
      

  3.   

    to:xuzuning(唠叨)hmsConf.inc里面只有
    <?php
    define('DB_HOST', '192.168.0.208'); 
    ?>
      

  4.   

    TO: lantersen(蓝水仁--倍感秋凉!~) 
    print_r($_SESSION);页面显示
    Array ( )
      

  5.   

    我把页面再简化一下
    a.php
    **********************************
    <?php
    require ('b.php');
    ?>
    **********************************b.php
    **********************************
    <?php 
    session_start();
    $str_user_id = $_SESSION['USER_ID'];
    echo $str_user_id
    ?>
    **********************************情况还是一样,单独执行b页面可以显示Session,执行a页面就没有Session
      

  6.   

    Check if there is some space in a.php...
    Open the error reporting in php.ini.
      

  7.   

    <?php
    require ('b.php');
    ?>
    这个上头有东西输出吗,比如html的什么东西
      

  8.   

    TO:Bevin_chen(Bevin)
    我写的就是两个文件的全部代码。TO:zeroleonhart(Strong Point:Algorithm)
    OK,try 1 try