Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > (Bug?) IIS Sends response to wrong client

Reply
Thread Tools

(Bug?) IIS Sends response to wrong client

 
 
Gilles
Guest
Posts: n/a
 
      02-22-2005
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
 
Reply With Quote
 
 
 
 
Geir Aamodt
Guest
Posts: n/a
 
      02-23-2005
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" <> wrote in message
news:E0E71D13-1821-4018-A3BE-...
> 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



 
Reply With Quote
 
 
 
 
Gilles
Guest
Posts: n/a
 
      02-23-2005
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" <> wrote in message
> news:E0E71D13-1821-4018-A3BE-...
> > 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

>
>
>

 
Reply With Quote
 
PL
Guest
Posts: n/a
 
      02-25-2005


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" <> skrev i meddelandet news:A62CF47D-0A12-4F42-A129-...
> 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" <> wrote in message
>> news:E0E71D13-1821-4018-A3BE-...
>> > 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

>>
>>
>>



 
Reply With Quote
 
Gilles
Guest
Posts: n/a
 
      02-28-2005
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" <> skrev i meddelandet news:A62CF47D-0A12-4F42-A129-...
> > 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" <> wrote in message
> >> news:E0E71D13-1821-4018-A3BE-...
> >> > 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
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS sends empty .CSS file BGU ASP .Net 1 07-13-2007 09:45 PM
Cisco SIP T.38 fax failing (Cisco sends to wrong port) Greg Cisco 1 10-20-2005 12:50 AM
FTP PORT command sends the wrong IP address for data channel over VPN steve.wadlow@dendrite.com Cisco 0 05-03-2005 08:57 PM
IIS sends login dialog for already authenticated users. Sandy ASP .Net Security 7 01-15-2005 05:51 AM
IMS queues when Outlook client sends email but sends fine with OWA??? =?Utf-8?B?c2hhb2xpbmRy?= MCSE 1 05-17-2004 12:01 PM



Advertisments
 



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