ASP.NET Duplicate SessionID Problem

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default ASP.NET Duplicate SessionID Problem

    I'm using a custom Session object to store information about current
    selections in my asp.net application and I am running into a problem on IE
    when a new window is cloned using Ctrl+N. Because IE uses same session id's
    for two windows a problem exists where a user can potentially update wrong
    data.
    For example: I have selected patient A to be the current patient and I am
    looking at patient's A records, then I open another window using Ctrl+N.
    Obviously it pulls up exactly the same information about patient A. Well, I
    select patient B and look at his/her information. (My session object now
    holds patient B as current). Then I switch back to the first window... which
    still has patient A displayed, I change some info and click 'Update' --
    tragically I just updated patient B with patient's A information.
    What is the best way to prevent this scenario in asp.net without having to
    pass arguments around from page to page.
    Thanks in advance -
    Dan


    CQL Guest

  2. Similar Questions and Discussions

    1. Duplicate Email Problem
      Well it's back and I wondered if anyone else has had this problem since doing the DST updates. We're running CFMX 6.1 Updater with the J2EE...
    2. creating new Session.sessionid problem
      hi guys i m storing my session.sessionid in database on user login but the problem is this after logout if i dont use structclear(session) it...
    3. Duplicate Colour Problem when printing to Mutoh
      I'm importing multichannel DCS 2.0 files from Photoshop to Freehand 9. The files contain a Pantone 281 Channel and a Cyan Channel. These files are...
    4. duplicate problem
      i've a member and i want to put it on stage a lot of times , so i've write this code: global i on exitFrame me puppetsprite(i, 1)...
    5. duplicate frames problem?
      FW3/Mac Hi all I am making disjoint rollovers. They work fine using three frames. When I try to duplicate more than 3 frames anything after 3...
  3. #2

    Default Re: ASP.NET Duplicate SessionID Problem

    I would use the unique patient ID in the Database to update a patient
    keep the patient ID with each Window.
    pass parameters around.

    "CQL" <dan.schab@cqlcorp.com> wrote in message
    news:uxul3G4XDHA.2424@TK2MSFTNGP12.phx.gbl...
    > I'm using a custom Session object to store information about current
    > selections in my asp.net application and I am running into a problem on IE
    > when a new window is cloned using Ctrl+N. Because IE uses same session
    id's
    > for two windows a problem exists where a user can potentially update wrong
    > data.
    > For example: I have selected patient A to be the current patient and I am
    > looking at patient's A records, then I open another window using Ctrl+N.
    > Obviously it pulls up exactly the same information about patient A. Well,
    I
    > select patient B and look at his/her information. (My session object now
    > holds patient B as current). Then I switch back to the first window...
    which
    > still has patient A displayed, I change some info and click 'Update' --
    > tragically I just updated patient B with patient's A information.
    > What is the best way to prevent this scenario in asp.net without having to
    > pass arguments around from page to page.
    > Thanks in advance -
    > Dan
    >
    >

    MS News \(MS ILM\) Guest

  4. #3

    Default Re: ASP.NET Duplicate SessionID Problem

    Find a better way of keeping track of which patient you are updating.
    Passing arguments from page to page is the simplest way to accomplish that.

    What exactly is the problem with passing arguments from page to page?

    Colin

    "CQL" <dan.schab@cqlcorp.com> wrote in message
    news:uxul3G4XDHA.2424@TK2MSFTNGP12.phx.gbl...
    > I'm using a custom Session object to store information about current
    > selections in my asp.net application and I am running into a problem on IE
    > when a new window is cloned using Ctrl+N. Because IE uses same session
    id's
    > for two windows a problem exists where a user can potentially update wrong
    > data.
    > For example: I have selected patient A to be the current patient and I am
    > looking at patient's A records, then I open another window using Ctrl+N.
    > Obviously it pulls up exactly the same information about patient A. Well,
    I
    > select patient B and look at his/her information. (My session object now
    > holds patient B as current). Then I switch back to the first window...
    which
    > still has patient A displayed, I change some info and click 'Update' --
    > tragically I just updated patient B with patient's A information.
    > What is the best way to prevent this scenario in asp.net without having to
    > pass arguments around from page to page.
    > Thanks in advance -
    > Dan
    >
    >

    Colin Young 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