ID:               46430
 Updated by:       [EMAIL PROTECTED]
 Reported By:      robert dot saylor at tekelec dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: CentOS release 5.2 (Final)
 PHP Version:      5.2.6
 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.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2008-10-30 17:28:12] robert dot saylor at tekelec dot com

I was able to duplicate this bug on 2 servers.

------------------------------------------------------------------------

[2008-10-30 17:25:11] robert dot saylor at tekelec dot com

While the issue is still there: My Computer > Favorites > goto a php
app that uses sessions > click on a link that opens a new window > php
will create a new session.

Workaround:

<?php
$ses_id = session_id();
?>

<A HREF="application.php5?PHPSESSID=<?php echo
"$ses_id";?>&item=<?=$row['id']?>&type=Features"
target="_blank">TEST</a>

application.php:

session_start();
if (isset($_REQUEST[PHPSESSID])) {
  session_id($_REQUEST[PHPSESSID]);
}

Using this method, the original session is passed and IE will not use
the blank session but instead use the session we intended to use.

------------------------------------------------------------------------

[2008-10-30 13:42:16] robert dot saylor at tekelec dot com

Description:
------------
Duplicate PHP session is created. The 2nd session has no data - 0k.

Reproduce code:
---------------
The php session data will be lost if you open My Computer > Favorites >
navigate to a php program that uses sessions in your bookmarks.

When the user loggs in, the session is created. But further navigation
a new session is created with 0k. The application does not use the
original session.

If the user directly opens Internet Explorer and navigates to the
application the session works correctly.

CODE:

<?
session_start();
?>

After the user loggs in, a session is created. If the application opens
another window using a <a href="application.php5"
target="_blank">application</a> php will create a 2nd session with 0k.

In the application.php5:

<?
session_start();
?>

If the user openes IE and loggs in this issue does not accurr. Only
when the 1st start in My Computer > Favorites or File Explorer >
Favorites

Expected result:
----------------
PHP should use the original session.

Actual result:
--------------
PHP creates a 2nd session with no data.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46430&edit=1

Reply via email to