ID: 34524 Updated by: [EMAIL PROTECTED] Reported By: zoom at atlas dot sk -Status: Open +Status: Feedback Bug Type: Session related Operating System: WinXP PHP Version: 5.1.0RC1 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-09-16 11:59:38] zoom at atlas dot sk Description: ------------ I use following order of code after users log-in, to regenerate session id. session_start() ...checking values... ...assigning values into $_SESSION session_regenerate_id(true) ...inserting into database, date and IP of log event. session_commit() header() redirect into another page to show private content. ---- interesting thing is, that every time I run this script I get 2! inserts into database - as there were 2 logins occured. I use IE6 and FF and have also *random* problems with session_destroy() function. In debugging process I uncovered this above. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34524&edit=1
