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

From: Gilles (Gilles_at_discussions.microsoft.com)
Date: 02/28/05

  • Next message: Marcin Belczewski: "Mapping X509Certificate to AD account using DirectoryServices"
    Date: Mon, 28 Feb 2005 02:27:06 -0800
    
    

    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.SessionID);
    > >> >
    > >> > 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
    > >>
    > >>
    > >>
    >
    >
    >


  • Next message: Marcin Belczewski: "Mapping X509Certificate to AD account using DirectoryServices"

    Relevant Pages

    • Re: (Bug?) IIS Sends response to wrong client
      ... Most likely you are caching and that is the issue you are seeing. ... > But maybe there is something I missed in the Web server config. ... >> Gilles, ... >> Geir Aamodt ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Urgent! Inconsistent execution of Page_Load() method call
      ... directive for Page1.aspx which seems to prevent IE from caching the ... the debugger stops on page_loadregardless of the Trace ... why I explicitly need to disable OutputCache if I have never ... > its Page_Loadand running the page in debug mode results in the ...
      (microsoft.public.dotnet.framework.aspnet.webcontrols)
    • Re: OutputCacheSection
      ... specific MasterPage, but I want the ed StyleSheet from that MasterPage ... Can I set Page Caching settings in a MasterPage or in the ... think different from the "OutputCache SETTINGS" section). ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: one aspx page started returning garbage???
      ... this one is very strange. ... Seems to be related to Caching - or at least when I removed the OutputCache ... >I did not recompile the app - but only changed the modification date of the aspx ...
      (microsoft.public.dotnet.framework.aspnet)
    • outputcache limitations?
      ... The following piece of code, when on a heavily loaded server (more than 50 ASP.NET pages, most using outputcache with varybyparam, lots of users), will only cache the string - the output is not cached, as if the outputcache is ignored. ... There is available RAM on the server. ... Should I reduce caching time on other pages, or remove caching from some pages to resolve the problem? ... Dim atest As String ...
      (microsoft.public.dotnet.framework.aspnet)