#21757 [Opn->Bgs]: session_register (); does not do it's job!
| From: | sniper@php.net | Date: | Thu, 23 Jan 2003 01:29:45 +0000 |
| Subject: | #21757 [Opn->Bgs]: session_register (); does not do it's job! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30986@lists.php.net to get a copy of this message | ||
ID: 21757
Updated by: sniper@php.net
Reported By: MDonatas@centras.lt
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Windows XP Pro
PHP Version: 4.3.0
New Comment:
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-general@lists.php.net
Previous Comments:
------------------------------------------------------------------------
[2003-01-22 10:11:35] MDonatas@centras.lt
I don't know. I haven't changed any values but some paths so I could
make ir work. everything other is left unchanged (default).
------------------------------------------------------------------------
[2003-01-20 13:54:17] iliaa@php.net
Does your php.ini allow PHP to set cookie session?
------------------------------------------------------------------------
[2003-01-20 10:40:38] MDonatas@centras.lt
Well, Previous version of PHP I used was 4.23 and everything went well.
Now in PHP 4.3 session_register ('string'); or $_SESSION ["string"];
does not register these 'string' variables when going from one page to
another. And by the way, echoing session_id (); in every new page you
go to (using hyperlinks, not opening new IE window) it gives you
different session ID and as far as I know that should not be changhing
unless you open another browser window. Why don't you try registering
variable and in another page writing if (session_is_registered
('string')) echo 'success';
I bet you won't see success though you should!
------------------------------------------------------------------------
[2003-01-19 17:52:30] kalowsky@php.net
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.
A) updating category.
B) Not enough info, and from what I can tell so far this is probably
Bogus.
------------------------------------------------------------------------
[2003-01-19 15:38:38] MDonatas@centras.lt
Here is the simple peace of code with the link to the page itself.
Session ID has to stay the same all the time as it is assigned to the
browser window (this conclusion is made by my own experiance :) ).
Tested with IE 6.0
//Start here
<?session_start ();?>
<html>
<head>
<title></title>
</head>
<body>
<?php
echo session_id ().'<br>';
?>
<a href="session_id.php">Test_Link</a>
</body>
</html>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21757&edit=1