(Bug?) IIS Sends response to wrong client

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

  1. #1

    Default (Bug?) IIS Sends response to wrong client

    Hello,
    I discovered a strange behaviour (bug?) in IIS 5.0 and asp.net 1.1.
    - user A clicks on a link requesting page x.
    - user B clicks simultaneously (1/10th of second later)on the same link.
    - user A receives the expected response.
    - user B receives the response of A.
    the Page_Load of page x.aspx contains:
    Response.Write(HttpContext.Current.Session.Session ID);

    I posted this question in the microsoft.public.inetserver.iis group, but
    nobody seems to be interested to answer, I hope receiving guidelines here.

    Could you please help ?

    Thanks

    Gilles
    Gilles Guest

  2. Similar Questions and Discussions

    1. #40481 [NEW]: mail() sends email to wrong address where there are "-" in localpart of "to"
      From: penartur at yandex dot ru Operating system: Linux PHP version: 5.2.1 PHP Bug Type: Mail related Bug description: ...
    2. #39291 [NEW]: ldap_sasl_bind sends wrong authcid
      From: lee dot essen at nowonline dot co dot uk Operating system: Solaris 10 PHP version: 5.1.6 PHP Bug Type: LDAP related...
    3. Client.call adn response object
      Hello everybody, When calling a Client.call() method from FCS and specifying a ResultObj client.call("checkServer" , new ResultObj()); I've got...
    4. Example of Streaming response to client???
      Could you give me an example of streaming a page to the client? Thanks. Larry Woods
    5. HELP: writing a file to response buffer --> IE shows wrong filename
      Hi In an .aspx codebehind file I retrieve a file from a database and write it to the response buffer, so the browser pops up a 'save file' dialog...
  3. #2

    Default Re: (Bug?) IIS Sends response to wrong client

    Gilles,

    Do you have any kind of caching enabled?
    Like page or fragment caching?

    Or do you have a proxy/caching server between you and the web server?

    --

    Best regards,
    Geir Aamodt
    geir.aamodt(AT)bekk.no

    "Gilles" <Gilles@discussions.microsoft.com> wrote in message
    news:E0E71D13-1821-4018-A3BE-FA20EB6E2BC7@microsoft.com...
    > Hello,
    > I discovered a strange behaviour (bug?) in IIS 5.0 and asp.net 1.1.
    > - user A clicks on a link requesting page x.
    > - user B clicks simultaneously (1/10th of second later)on the same link.
    > - user A receives the expected response.
    > - user B receives the response of A.
    > the Page_Load of page x.aspx contains:
    > Response.Write(HttpContext.Current.Session.Session ID);
    >
    > I posted this question in the microsoft.public.inetserver.iis group, but
    > nobody seems to be interested to answer, I hope receiving guidelines here.
    >
    > Could you please help ?
    >
    > Thanks
    >
    > Gilles

    Geir Aamodt Guest

  4. #3

    Default Re: (Bug?) IIS Sends response to wrong client

    Hello Geir,
    Thanks for your answer.
    The application is on our intranet and in my knowledge, there is no proxy
    server in there.
    I put <%@ OutputCache Duration="1" VaryByParam="none" %> in the Page
    directive.
    But maybe there is something I missed in the Web server config.

    Gilles

    "Geir Aamodt" wrote:
    > Gilles,
    >
    > Do you have any kind of caching enabled?
    > Like page or fragment caching?
    >
    > Or do you have a proxy/caching server between you and the web server?
    >
    > --
    >
    > Best regards,
    > Geir Aamodt
    > geir.aamodt(AT)bekk.no
    >
    > "Gilles" <Gilles@discussions.microsoft.com> wrote in message
    > news:E0E71D13-1821-4018-A3BE-FA20EB6E2BC7@microsoft.com...
    > > Hello,
    > > I discovered a strange behaviour (bug?) in IIS 5.0 and asp.net 1.1.
    > > - user A clicks on a link requesting page x.
    > > - user B clicks simultaneously (1/10th of second later)on the same link.
    > > - user A receives the expected response.
    > > - user B receives the response of A.
    > > the Page_Load of page x.aspx contains:
    > > Response.Write(HttpContext.Current.Session.Session ID);
    > >
    > > I posted this question in the microsoft.public.inetserver.iis group, but
    > > nobody seems to be interested to answer, I hope receiving guidelines here.
    > >
    > > Could you please help ?
    > >
    > > Thanks
    > >
    > > Gilles
    >
    >
    >
    Gilles Guest

  5. #4

    Default Re: (Bug?) IIS Sends response to wrong client



    Why even put in an outputcache declaration at all when you are trying something like this ?
    Most likely you are caching and that is the issue you are seeing.

    PL.

    "Gilles" <Gilles@discussions.microsoft.com> skrev i meddelandet news:A62CF47D-0A12-4F42-A129-C7F45231410D@microsoft.com...
    > Hello Geir,
    > Thanks for your answer.
    > The application is on our intranet and in my knowledge, there is no proxy
    > server in there.
    > I put <%@ OutputCache Duration="1" VaryByParam="none" %> in the Page
    > directive.
    > But maybe there is something I missed in the Web server config.
    >
    > Gilles
    >
    > "Geir Aamodt" wrote:
    >
    >> Gilles,
    >>
    >> Do you have any kind of caching enabled?
    >> Like page or fragment caching?
    >>
    >> Or do you have a proxy/caching server between you and the web server?
    >>
    >> --
    >>
    >> Best regards,
    >> Geir Aamodt
    >> geir.aamodt(AT)bekk.no
    >>
    >> "Gilles" <Gilles@discussions.microsoft.com> wrote in message
    >> news:E0E71D13-1821-4018-A3BE-FA20EB6E2BC7@microsoft.com...
    >> > Hello,
    >> > I discovered a strange behaviour (bug?) in IIS 5.0 and asp.net 1.1.
    >> > - user A clicks on a link requesting page x.
    >> > - user B clicks simultaneously (1/10th of second later)on the same link.
    >> > - user A receives the expected response.
    >> > - user B receives the response of A.
    >> > the Page_Load of page x.aspx contains:
    >> > Response.Write(HttpContext.Current.Session.Session ID);
    >> >
    >> > I posted this question in the microsoft.public.inetserver.iis group, but
    >> > nobody seems to be interested to answer, I hope receiving guidelines here.
    >> >
    >> > Could you please help ?
    >> >
    >> > Thanks
    >> >
    >> > Gilles
    >>
    >>
    >>

    PL Guest

  6. #5

    Default Re: (Bug?) IIS Sends response to wrong client

    Thanks you all, I've found the answer thanks to your suggestions,
    I thought that the directive <%@ OutputCache Duration="1" VaryByParam="none"
    %>
    prevents caching, but I wa wrong.
    I replaced the directive with <%@ OutputCache Location="None"
    VaryByParam="None" %> and it works now.

    Gilles

    "PL" wrote:
    >
    >
    > Why even put in an outputcache declaration at all when you are trying something like this ?
    > Most likely you are caching and that is the issue you are seeing.
    >
    > PL.
    >
    > "Gilles" <Gilles@discussions.microsoft.com> skrev i meddelandet news:A62CF47D-0A12-4F42-A129-C7F45231410D@microsoft.com...
    > > Hello Geir,
    > > Thanks for your answer.
    > > The application is on our intranet and in my knowledge, there is no proxy
    > > server in there.
    > > I put <%@ OutputCache Duration="1" VaryByParam="none" %> in the Page
    > > directive.
    > > But maybe there is something I missed in the Web server config.
    > >
    > > Gilles
    > >
    > > "Geir Aamodt" wrote:
    > >
    > >> Gilles,
    > >>
    > >> Do you have any kind of caching enabled?
    > >> Like page or fragment caching?
    > >>
    > >> Or do you have a proxy/caching server between you and the web server?
    > >>
    > >> --
    > >>
    > >> Best regards,
    > >> Geir Aamodt
    > >> geir.aamodt(AT)bekk.no
    > >>
    > >> "Gilles" <Gilles@discussions.microsoft.com> wrote in message
    > >> news:E0E71D13-1821-4018-A3BE-FA20EB6E2BC7@microsoft.com...
    > >> > Hello,
    > >> > I discovered a strange behaviour (bug?) in IIS 5.0 and asp.net 1.1.
    > >> > - user A clicks on a link requesting page x.
    > >> > - user B clicks simultaneously (1/10th of second later)on the same link.
    > >> > - user A receives the expected response.
    > >> > - user B receives the response of A.
    > >> > the Page_Load of page x.aspx contains:
    > >> > Response.Write(HttpContext.Current.Session.Session ID);
    > >> >
    > >> > I posted this question in the microsoft.public.inetserver.iis group, but
    > >> > nobody seems to be interested to answer, I hope receiving guidelines here.
    > >> >
    > >> > Could you please help ?
    > >> >
    > >> > Thanks
    > >> >
    > >> > Gilles
    > >>
    > >>
    > >>
    >
    >
    >
    Gilles 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