i dont know if here is the true palce to ask this question , but
i have a strange problem , i work as a web developer in a news agency
some of our users report that when they click on a link to a specified news ,
completely different news opens ,
each news has an unique id which fully specifies the news , and each news opens with its id.

do you have samples of the urls they are clicking on?

thanks for your attenation dickersonka

here are a sample :
clicking this news item on the service page of news agency opens another news
NewsID=786251 is newsid of the news , when they click receive a page with B]NewsID=786251[/B] but showing completely different news story , lead and titr.
i asked one of them to add a parameter like &t=1 to the url and it opened correct news page
so i think this is a cache problem,
may be there is a proxy server between user and our server
this is strang , any idea?

i think it might be the page cache, also if they click refresh, does it properly display?

try to add this to the top of the page

<%@ OutputCache Duration="60" VaryByParam="*" %>

i already have add outputcache directive to this page
<%@ OutputCache Duration="10" VaryByParam="*" %>
as i know this caches the page on the server , and if so all users should have this problem , but especially on the server there is no such problem

is it showing the news for a previous link id they have used?

i understand its not the correct page, but need more specifics, when is it from? same url? any further info?

i will ask them , thanks dickersonka

i asked them , when they open a news item for instance
it opens a page with true Url that is
but the news which it is contained is newsId= YYYY
where they have never opened newsId= YYYY.

I checked IIS Logs , there was an interesting thing :
this is the log item where i opend newsid = 786251

2008-11-19 12:30:42 GET /fa/newsdetail.aspx NewsID=786251 - xxx.xxx.xxx.xxx(my ip) HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) http://www.mehrnews.com/fa/Default.aspx?t=Picture 200 33197

40 seconds later when user opened same news Id :
2008-11-19 12:31:22 GET /fa/newsdetail.aspx NewsID=786251 - yyy.yyy.yyy.yyy(users Ip) HTTP/1.0 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) http://www.mehrnews.com/fa/Default.aspx?t=Picture 304 318

and 76 seconds later , when i asked him to add &t=1 to his url :

2008-11-19 12:32:38 GET /fa/newsdetail.aspx NewsID=786251&t=1 - HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) - 200 32097

304 iis status means "not modified"
200 iis status means "ok"

surely this is a cache problem but , what is causing this ????

have you tried disabling all caching together?
might be easier to start that way, then try to enable it

we have 2 replicated servers : A and B, this problem emerged when we ommited one of our servers (B) , after changing server roles (Omitting A and starting B) there is no problem, strrange?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.