Bug 77951 - session_cookies lost on new window open and close
Summary: session_cookies lost on new window open and close
Status: RESOLVED DUPLICATE of bug 64182
Alias: None
Product: konqueror
Classification: Applications
Component: kcookiejar (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 22:04 UTC by Joshua
Modified: 2004-03-23 13:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua 2004-03-18 22:04:36 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.3 
OS:          Linux

Some session data ( I am using php) is written in main window code. There is a link to open a new window and this window will show the previously written session data.  On first click, it works fine. If I close this window, all session data is erased and can no longer be accessed from either main window or popup. I have checked different php settings (trans_sid for ex) and played with settings in cookies section of Konq and tested in Mozilla (works fine)

To illustrate here is test code:

mainwindow.php:
-----------------
<?php
session_start();
$_SESSION['test'] = 'hello';

?>
<a href="popup.php" target="_blank">launch</a>
-----------------

popup.php
---------------
<?php
session_start();

echo $_SESSION['test'];
?>

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

The "hello" in the popup will only show once. The only solution is to pass the session_id  in url.  Since things work fine on other browser I am assuming this to be a Konq issue.
Comment 1 Dawit Alemayehu 2004-03-23 13:39:01 UTC

*** This bug has been marked as a duplicate of 64182 ***