>>>>> "YO" == Yasuo Ohgaki <[EMAIL PROTECTED]> writes:

    >   As I posted right before, file is created in /tmp.
    >   Franlking speaking, I did not make any change to default settings of php.ini
    >   In other words,
    >      session.save_handler = files
    >      session.save_path    = /tmp

    YO> Then , as I wrote previous mail, you should at least have session data files
    YO> there. (I forgot the exact name. I think it contains session id) Do you see any
    YO> session data files? Is your session id changing everytime? or you don't have
    YO> session id at all?  Do you see session module info in your phpinfo? Is it
    YO> correct? Do you use E_ALL for error reporting? (You may see some errors like
    YO> oops header already sent)

  Certainly are there data files which look like "sess_sessionid" in /tmp and
  changed everytime when I reload the web page. And sessoinid is the same as
  the value of cookie variable, PHPSESSID. Up to this stage does things seem
  to go well. I think so.

  phpinfo result looks correct...almost.
  *THERE'S NO HTTP_SESSION_VARS* in PHP variables!! although I used session_start()
  and session_register()! It is incorrect, isn't it?

  I can see session module info in my phpinfo and it is correct. ;(
  Surely I set
    error_reporting = E_ALL
    display_errors = On
    display_startup_errors = On

  and no error/warning messages in the page. 

    YO> Something must be wrong, since your environment is similar to that I have.

  I found something!
  If I set register_globals to Off in php.ini, then session *seems* to work well.
  In /tmp, session data file contains both of variable name and value and I can
  use $HTTP_SESSION_VARS["variable"].
  BUT, as before is there no HTTP_SESSION_VARS in PHP variables section of phpinfo.

  I'm so confused and think things are getting weirder. ;(

    YO> Regards,

    YO> Yasuo Ohgaki

    YO> -- 
    YO> PHP General Mailing List (http://www.php.net/)
    YO> To unsubscribe, e-mail: [EMAIL PROTECTED]
    YO> For additional commands, e-mail: [EMAIL PROTECTED]
    YO> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
 Chung Ha-Nyung <[EMAIL PROTECTED]>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to