#25551 [Opn->Bgs]: Session data loss when accessing session from multiple windows.

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default #25551 [Opn->Bgs]: Session data loss when accessing session from multiple windows.

    ID: 25551
    Updated by: [email]sniper@php.net[/email]
    Reported By: brett at realestate-school dot com
    -Status: Open
    +Status: Bogus
    Bug Type: Session related
    Operating System: Linux - Red Hat
    PHP Version: 4.3.1
    New Comment:

    Thank you for taking the time to report a problem with PHP.
    Unfortunately you are not using a current version of PHP --
    the problem might already be fixed. Please download a new
    PHP version from [url]http://www.php.net/downloads.php[/url]

    If you are able to reproduce the bug with one of the latest
    versions of PHP, please change the PHP version on this bug report
    to the version you tested and change the status back to "Open".
    Again, thank you for your continued support of PHP.

    We're already at 4.3.3 in which many session bugs have been fixed
    (compared to 4.2.3).



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

    [2003-09-15 16:51:26] brett at realestate-school dot com

    Description:
    ------------
    Problem: You have a main window that manipulates and diplays data from
    a $_SESSION array. You cannot open a popup window, then manipulate your
    sessions in the main window, then reload your popup window without
    corrupting your session.

    At first glance, it seems to work right, but once you start testing,
    you realize that it just doesn't work. Sometimes you get the correct
    data, usually you don't. I'm using version 4.2.3 (yes i
    know...upgrade), but I originally saw this reported as a bug in an
    earlier PHP version and the PHP team said it wasn't a bug, not because
    they tested it, but because they said it was impossible for it to
    happen due to the way PHP is written because PHP serializes all session
    requests, locks the sessions..blah, blah, blah. I can therefore, only
    assume that the bug still exists in later versions as it is present in
    version 4.2.3 and I've found no reports of it being fixed or even
    acknowledged as a bug. I found at least one other person on
    phpbuilder.com who had the same problem and finally solved it by giving
    up on sessions and passing his data in a query string.

    Config Info:

    Env: i386-redhat-linux-gnu

    './configure' '--prefix=/usr/local/'
    '--with-apache=../../new_apache/apache_1.3.27'
    '--with-openssl=/usr/local/ssl' '--enable-shared' '--enable-versioning'
    '--enable-pic' '--disable-posix-threads'
    '--with-openssl=/usr/local/ssl' '--disable-debug'
    '--enable-magic-quotes' '--disable-rpath' '--with-zlib'
    '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-exif'
    '--with-curl=/usr'
    '--with-cybercash=/usr/local/cybercash/mck-3.2.0.6-i586-pc-linux-gnulibc2.1'
    '--with-gdbm=/usr' '--enable-dbase' '--with-gd=/usr/local'
    '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
    '--with-freetype-dir=/usr' '--with-gmp' '--with-imap=/usr/local'
    '--with-imap-ssl=/usr/local/ssl' '--enable-mbstring'
    '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt=/usr'
    '--with-mhash=/usr' '--with-mysql=/usr/local/mysql' '--enable-sockets'
    '--with-regex=system' '--enable-wddx' '--with-expat-dir=/usr'
    '--enable-xslt' '--with-xslt-sablot=/usr'
    '--enable-inline-optimization'

    Reproduce code:
    ---------------
    My code is way too big to post here. If anyone wants to take this bug
    seriously, please e-mail me at brett at realestate-school.com (address
    obfuscated..just format it like a normal e-mail address) and I will
    provide code samples.



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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=25551&edit=1[/url]
    sniper@php.net Guest

  2. Similar Questions and Discussions

    1. Session Loss Frustrating
      My site is hosted on a clustered environment, the load balancer uses "sticky" cookies (or session-sensitive) load balancing. I'm using 'cookie'...
    2. #25551 [Bgs->Opn]: Session data loss when accessing session from multiple windows.
      ID: 25551 User updated by: brett at realestate-school dot com Reported By: brett at realestate-school dot com -Status: ...
    3. #25551 [NEW]: Session data loss when accessing session from multiple windows.
      From: brett at realestate-school dot com Operating system: Linux - Red Hat PHP version: 4.3.1 PHP Bug Type: Session related...
    4. Accessing ASP Session from ASP.NET via Session cookie
      I have a site that I'm trying to migrate to ASP.NET from ASP, and the foremost stumbling block I'm hitting is session state between the ASP and...
    5. Perceived Loss of All Session Objects
      > Environment: Windows 2000 Server, IIS 5.0, ASP .Net www.aspfaq.com/5002
  3. #2

    Default #25551 [Opn->Bgs]: Session data loss when accessing session from multiple windows.

    ID: 25551
    Updated by: [email]sniper@php.net[/email]
    Reported By: brett at realestate-school dot com
    -Status: Open
    +Status: Bogus
    Bug Type: Session related
    Operating System: Linux - Red Hat
    -PHP Version: 4.3.3
    +PHP Version: 4.2.3
    New Comment:

    It's not our problem if you can't upgrade.
    And sessions work just fine. You're either doing something
    wrong or there was some bug fixed, related/not related to sessions.




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

    [2003-09-16 13:33:54] brett at realestate-school dot com

    After 2 weeks of searching, I have not found one report of this being
    fixed in any PHP version. I am not able to upgrade my version of PHP to
    test this on newer versions. Please do not close this issue until
    someone has.

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

    [2003-09-16 12:38:07] [email]sniper@php.net[/email]

    Thank you for taking the time to report a problem with PHP.
    Unfortunately you are not using a current version of PHP --
    the problem might already be fixed. Please download a new
    PHP version from [url]http://www.php.net/downloads.php[/url]

    If you are able to reproduce the bug with one of the latest
    versions of PHP, please change the PHP version on this bug report
    to the version you tested and change the status back to "Open".
    Again, thank you for your continued support of PHP.

    We're already at 4.3.3 in which many session bugs have been fixed
    (compared to 4.2.3).


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

    [2003-09-15 16:51:26] brett at realestate-school dot com

    Description:
    ------------
    Problem: You have a main window that manipulates and diplays data from
    a $_SESSION array. You cannot open a popup window, then manipulate your
    sessions in the main window, then reload your popup window without
    corrupting your session.

    At first glance, it seems to work right, but once you start testing,
    you realize that it just doesn't work. Sometimes you get the correct
    data, usually you don't. I'm using version 4.2.3 (yes i
    know...upgrade), but I originally saw this reported as a bug in an
    earlier PHP version and the PHP team said it wasn't a bug, not because
    they tested it, but because they said it was impossible for it to
    happen due to the way PHP is written because PHP serializes all session
    requests, locks the sessions..blah, blah, blah. I can therefore, only
    assume that the bug still exists in later versions as it is present in
    version 4.2.3 and I've found no reports of it being fixed or even
    acknowledged as a bug. I found at least one other person on
    phpbuilder.com who had the same problem and finally solved it by giving
    up on sessions and passing his data in a query string.

    Config Info:

    Env: i386-redhat-linux-gnu

    './configure' '--prefix=/usr/local/'
    '--with-apache=../../new_apache/apache_1.3.27'
    '--with-openssl=/usr/local/ssl' '--enable-shared' '--enable-versioning'
    '--enable-pic' '--disable-posix-threads'
    '--with-openssl=/usr/local/ssl' '--disable-debug'
    '--enable-magic-quotes' '--disable-rpath' '--with-zlib'
    '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-exif'
    '--with-curl=/usr'
    '--with-cybercash=/usr/local/cybercash/mck-3.2.0.6-i586-pc-linux-gnulibc2.1'
    '--with-gdbm=/usr' '--enable-dbase' '--with-gd=/usr/local'
    '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
    '--with-freetype-dir=/usr' '--with-gmp' '--with-imap=/usr/local'
    '--with-imap-ssl=/usr/local/ssl' '--enable-mbstring'
    '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt=/usr'
    '--with-mhash=/usr' '--with-mysql=/usr/local/mysql' '--enable-sockets'
    '--with-regex=system' '--enable-wddx' '--with-expat-dir=/usr'
    '--enable-xslt' '--with-xslt-sablot=/usr'
    '--enable-inline-optimization'

    Reproduce code:
    ---------------
    My code is way too big to post here. If anyone wants to take this bug
    seriously, please e-mail me at brett at realestate-school.com (address
    obfuscated..just format it like a normal e-mail address) and I will
    provide code samples.



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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=25551&edit=1[/url]
    sniper@php.net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139