PHP 5.0.5 $_SESSION problems



Recently I upgraded from PHP 4.4.0 to PHP 5.0.5 and everything seemed to work just fine, until i noticed that a lot of session-data disappeared when using 'header's and 'exit's in my scripts. I tried to solve the problem by using session_write_close before the header and/or exit calls, but this didn't work for me. Now I switched back to PHP 4.4 again and the session-problems are gone.

Does anyone else have noticed this problem and maybe found a workaround or explanation for it?
.




Relevant Pages

  • Re: Phpplot problem
    ... Now I get on the X axis strange values: ... I provided a brief explanation in my original reply with the appropriate context, but I don't feel like looking for it and pasting it here again. ... If you have a date and you want to handle it as a date (e.g., apply a specific formatting) you need to feed it to PHP in a format it can understand, which is typically either a Unix timestamp or a DateTime object. ...
    (comp.lang.php)
  • Re: error message I don understand
    ... On 7/17/2011 5:10 AM, Thomas 'PointedEars' Lahn wrote: ... The php error message is saying that you can't assign a value ... Which has absolutely nothing to do with the problem the op had, or with Dennis's explanation. ...
    (comp.lang.php)
  • RE: [PHP] $_POST var name char conversion "." to "_"
    ... I guessed that it was something built in to PHP, although I was surprised when I couldn't find a good explanation in the usually excellent docs. ... Learning Support Services, Learning & Information Services, ...
    (php.general)
  • Re: error message I don understand
    ... Thomas 'PointedEars' Lahn wrote: ... The php error message is saying that you can't assign a value ... wrong explanation. ...
    (comp.lang.php)
  • Re: PHP Classes
    ... but I've never seen a very good explanation. ... > been working with PHP for just over 6 months and usually hard code ... > functions for that matter. ... DeeDee, don't press that button! ...
    (comp.lang.php)