php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31427 New session id with session_start()
Submitted: 2005-01-06 16:18 UTC Modified: 2005-01-07 07:32 UTC
From: l_bellei at virgilio dot it Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.0.3 OS: windows
Private report: No CVE-ID: None
 [2005-01-06 16:18 UTC] l_bellei at virgilio dot it
Description:
------------
I have a new session_id (and a new session file in the temp directory) on every page when call session_start() at the top of page.
The server is an apache 2.0.53 with php 5.0.3 on windows 2000 sp4.
php.ini is modify only in the section of Error handling and logging for debug use.

Reproduce code:
---------------
//page 1 
<?php 
session_start();
$_SESSION['test']='123';
header("location:page2.php");
?>

//page 2
<?php
session_start();
echo $_SESSION['test'];
?>



Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-07 07:32 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 16 01:01:28 2024 UTC