Ask a Question related to ASP.NET Security, Design and Development.
-
Gilles #1
(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
-
#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: ... -
#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... -
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... -
Example of Streaming response to client???
Could you give me an example of streaming a page to the client? Thanks. Larry Woods -
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... -
Geir Aamodt #2
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
-
Gilles #3
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
-
PL #4
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
-
Gilles #5
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



Reply With Quote

