Session Ends with Window.Open() Call

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Session Ends with Window.Open() Call

    Hi all,
    I have a very basic ASP application in which a user is authenticated,
    a flag is set in a session variable, and a new window is opened. The
    file opened exists in the same application directory as the file which
    sets the session flag. After calling the window.open() method in
    javascript to open my new file, the session id changes. This is very
    very bad. After a week of scouring the groups, I have noticed a ton
    of other people having similar problems, seemingly a remnant of the
    "Browse in process" errors, however; microsoft says the problem is
    resolved by upgrading to IE 5.5. Well, I have IE 6.0.28, and the
    problem persists.

    Has there been any resolution for this bug in internet explorer? If
    there isn't a resolution yet, what types of SECURE workarounds are
    available? How am I expected to use the session feature of ASP if it
    doesn't work across browser windows?
    Justin Beckwith Guest

  2. Similar Questions and Discussions

    1. #26143 [Bgs]: Call-by-Reference ends in Recursion
      ID: 26143 User updated by: claus-poerschke at gmx dot de Reported By: claus-poerschke at gmx dot de Status: Bogus...
    2. #26143 [Opn->Bgs]: Call-by-Reference ends in Recursion
      ID: 26143 Updated by: moriyoshi@php.net Reported By: claus-poerschke at gmx dot de -Status: Open +Status: ...
    3. #26143 [NEW]: Call-by-Reference ends in Recursion
      From: claus-poerschke at gmx dot de Operating system: Suse Linux 8.2 PHP version: 4.3.4 PHP Bug Type: *General Issues Bug...
    4. How can I open a new window and ensure the page loaded creates a NEW session?
      Normally if this is done, the new window will be in the SAME session as the opening window. I don't want to abandon the session of the opening...
    5. session variable and window.open
      correction: it still holds true even in classic ASP. "Mark" <mark@yahoo.comN0SPAM> wrote in message news:beimm4$fuu$1@lust.ihug.co.nz... using...
  3. #2

    Default Re: Session Ends with Window.Open() Call

    "Justin Beckwith" wrote:
    >
    > I have a very basic ASP application in which a user is authenticated,
    > a flag is set in a session variable, and a new window is opened. The
    > file opened exists in the same application directory as the file which
    > sets the session flag. After calling the window.open() method in
    > javascript to open my new file, the session id changes. This is very
    > very bad. After a week of scouring the groups, I have noticed a ton
    > of other people having similar problems, seemingly a remnant of the
    > "Browse in process" errors, however; microsoft says the problem is
    > resolved by upgrading to IE 5.5. Well, I have IE 6.0.28, and the
    > problem persists.
    >
    > Has there been any resolution for this bug in internet explorer? If
    > there isn't a resolution yet, what types of SECURE workarounds are
    > available? How am I expected to use the session feature of ASP if it
    > doesn't work across browser windows?
    Justin -

    We first observed this problem several months ago, and have not yet found a
    solution. FWIW, it seems to be an IE/IIS-only "feature". The session loss
    does not occur with other browsers, and as far as I can tell, new sessions
    are not spawned on non-IIS web servers.

    In the course of my investigation into the problem, I was advised that many
    sites resolved the problem by adding P3P policies. As these policies can be
    held legally binding, my organization has been slow to move on the issue,
    leaving me unable to confirm whether this would resolve the problem for us.

    There is a reliable solution -- normal cookies work as suspected. If you
    implement your own session management system, you can achieve the kind of
    behavior you desire. This is, of course, more work, and more or less limits
    you to primitive data types in session variables, but it is considerably
    more predictable, compatible, and scalable.


    --
    Dave Anderson

    Unsolicited commercial email will be read at a cost of $500 per message. Use
    of this email address implies consent to these terms. Please do not contact
    me directly or ask me to contact you directly for assistance. If your
    question is worth asking, it's worth posting.


    Dave Anderson 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