From:             tidus_david at hotmail dot com
Operating system: Windows Vista
PHP version:      5.2.5
PHP Bug Type:     Session related
Bug description:  Sessions aren't restarting or renewing

Description:
------------
In the new version of php, the sessions seems to be bad because they say
that headers are already sent... so it is not updating the cookie thing,
better explanation with the code, by the way, my page is
http://dfun.servegame.com/minimanager so you can see what happens

Reproduce code:
---------------
        //set user variables
        session_regenerate_id();
        $user_lvl = $_SESSION['user_lvl'];
        $user_name = $_SESSION['uname'];
        $user_id = $_SESSION['user_id'];
        $realm_id = (isset($_GET['r_id'])) ? addslashes($_GET['r_id']) :
$_SESSION['realm_id'];


Expected result:
----------------
It should load the menus correctly and show a tooltip when you put the
mouse over the any menu, but it loads bad

Actual result:
--------------
session_regenerate_id() [function.session-regenerate-id]: Cannot
regenerate session id - headers already sent in
C:\server\htdocs\Minimanager\header.php on line 73


-- 
Edit bug report at http://bugs.php.net/?id=44320&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44320&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44320&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44320&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44320&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44320&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44320&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44320&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44320&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44320&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44320&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44320&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44320&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44320&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44320&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44320&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44320&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44320&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44320&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44320&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44320&r=mysqlcfg

Reply via email to