Sessions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alain Dhaene

    Sessions

    HI,

    I want to store some data in Sessions, but i have this error

    Warning: Unknown(): Your script possibly relies on a session side-effect
    which existed until PHP 4.2.3. Please be advised that the session extension
    does not consider global variables as a source of data, unless
    register_global s is enabled. You can disable this functionality and this
    warning by setting session.bug_com pat_42 or session.bug_com pat_warn to off,
    respectively. in Unknown on line 0

    Warning: Unknown(): open(/tmp\sess_622d49 ff6fbad164ba2ad 7cd05fdd544, O_RDWR)
    failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown(): Failed to write session data (files). Please verify that
    the current setting of session.save_pa th is correct (/tmp) in Unknown on
    line 0

    My version of php is version 4.3.4

    Is there something that I have to change in my php.ini file?

    Thanks

    Alain


  • Pedro Graca

    #2
    Re: Sessions

    Alain Dhaene wrote:[color=blue]
    > Warning: Unknown(): Your script possibly relies on a session side-effect
    > which existed until PHP 4.2.3. Please be advised that the session extension
    > does not consider global variables as a source of data, unless
    > register_global s is enabled. You can disable this functionality and this
    > warning by setting session.bug_com pat_42 or session.bug_com pat_warn to off,
    > respectively. in Unknown on line 0
    >
    > Warning: Unknown(): open(/tmp\sess_622d49 ff6fbad164ba2ad 7cd05fdd544, O_RDWR)
    > failed: No such file or directory (2) in Unknown on line 0
    >
    > Warning: Unknown(): Failed to write session data (files). Please verify that
    > the current setting of session.save_pa th is correct (/tmp) in Unknown on
    > line 0
    >
    > My version of php is version 4.3.4
    >
    > Is there something that I have to change in my php.ini file?[/color]

    Maybe this helps:

    --
    --= my mail box only accepts =--
    --= Content-Type: text/plain =--
    --= Size below 10001 bytes =--

    Comment

    Working...