| | |
link problem
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2008
Posts: 23
Reputation:
Solved Threads: 0
hi
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.
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.
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 137
do you have samples of the urls they are clicking on?
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Jan 2008
Posts: 23
Reputation:
Solved Threads: 0
thanks for your attenation dickersonka
here are a sample :
http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=786251
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?
here are a sample :
http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=786251
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?
Last edited by raziane; Nov 19th, 2008 at 11:06 am.
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 137
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
try to add this to the top of the page
ASP.NET Syntax (Toggle Plain Text)
<%@ OutputCache Duration="60" VaryByParam="*" %>
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 137
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 understand its not the correct page, but need more specifics, when is it from? same url? any further info?
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Jan 2008
Posts: 23
Reputation:
Solved Threads: 0
i asked them , when they open a news item for instance
http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=XXXX
it opens a page with true Url that is
http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=XXXX
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 - 78.38.204.130 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"
and
200 iis status means "ok"
,,
surely this is a cache problem but , what is causing this ????
http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=XXXX
it opens a page with true Url that is
http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=XXXX
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 - 78.38.204.130 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"
and
200 iis status means "ok"
,,
surely this is a cache problem but , what is causing this ????
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 137
have you tried disabling all caching together?
might be easier to start that way, then try to enable it
might be easier to start that way, then try to enable it
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
![]() |
Similar Threads
- Cross Link Id Problem (Perl)
- Graphics card problem which is getting really annoying (Monitors, Displays and Video Cards)
- need to make a link (PHP)
- The dreaded Javascript link problems (Web Browsers)
- IE 6 Can't open new windows from link clicked (Web Browsers)
- New Link Problem!!! (Windows NT / 2000 / XP)
- Link problem (PHP)
- MySql multiple table query problem.... (MySQL)
Other Threads in the ASP.NET Forum
- Previous Thread: C# server.transfer to save form data and send email
- Next Thread: IE7/saving pages problem
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn checkbox child click commonfunctions compatible confirmationcodegeneration content contenttype courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dropdownmenu edit expose feedback flash flv form formatdecimal forms formview grid gridview homeedition hosting iframe iis javascript jquery listbox login menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news numerical objects order panelmasterpagebuttoncontrols radio ratings rotatepage save schoolproject search security serializesmo.table silverlight smartcard sql-server sqlserver2005 suse textbox tracking typeof unauthorized validation vb.net video videos view virtualdirectory vista visual-studio visualstudio web webarchitecture webdevelopemnt webservice xml youareanotmemberofthedebuggerusers






