php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41715 the SID is ECHO only the first time, next i must close Browser
Submitted: 2007-06-16 22:24 UTC Modified: 2007-06-17 09:34 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: lupofede2004 at virgilio dot it Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.2.3 OS: WINDOWS XP sp2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lupofede2004 at virgilio dot it
New email:
PHP Version: OS:

 

 [2007-06-16 22:24 UTC] lupofede2004 at virgilio dot it
Description:
------------
The SID is ECHO only the first time , if i refresh browser or recall a script , the SID can appear NULL,  i must close Browser and restart for have a SID, but any time i restart browser i can echo SID only one time.

Reproduce code:
---------------
<?php
session_start();
echo SID ;
//$x= SID ;echo $x , "<br>";
//$idsessione=session_name()."=".session_id();
//echo "L'ID di SESSIONE ?: $idsessione";
?>



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-16 22:26 UTC] lupofede2004 at virgilio dot it
not other
 [2007-06-17 09:34 UTC] johannes@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC