Solved

asp.net page content updated delayed

Posted on 2013-06-10
5
326 Views
Last Modified: 2013-07-08
I am new on linq to xml and nhibernate.
But I am working on a asp.net c# project using these skills.

The issue is when I updated something on the website, the content is not updated immediately. Actually the content is updated on the next business day.
But I could see the content in the database right after I updated, but why it is not displayed on the web until next business day?

Appreciated!!!
0
Comment
Question by:jssong2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39237701
It's not clear from your description what the association is between the web site and the database, but I'm going to guess content for the web site is stored in the database. When the database is changed, you expect the web site to change as well.  I see two possible answers for the problem you're seeing:

1) The web site is pulling from a database other than the one you update.  In other words, you update a database and that database synchronizes with a live database once a day.
...or...
2) The web site pulls from the live database server all the time, but some product is caching the web site and showing you the cached pages.  The caching could be at the web server itself, the web browser you're using, or some appliance (web proxy) in the middle.

I think you'd know for sure about the first scenario, but maybe not.  

In the second scenario, I'd think you'd know if you were using a proxy, but maybe not.  You can test the browser caching idea by switching browsers or switching machines to see if the new page shows up.  IIS has cache settings at the site level that can be modified, either in web.config or through the ISM.  It's also possible to set some caching parameters in the web page itself, but I don't suspect they're the issue here.
0
 

Author Comment

by:jssong2000
ID: 39239350
I tested using different browser and machine. But I got the same content.
Some newly added rows counld not be pulled out and displayed on the website.

It will take at least one business day to display newly added rows. But I could see those rows immediatly from DB. The web page should display all rows but not. I don't know why.
More idea, comments? Thank you!
0
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 39240978
Is it possible the query used to populate the page has a date component?  It may be the query is written so it always pulls data from before the current day (excluding the current day).  It would imply the code on the web site is different from the code on your machine, but it's the only other thing I can think of.
0
 

Author Closing Comment

by:jssong2000
ID: 39307154
very helpful. thank you!
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39307160
Were you able to resolve your problem?  If so, can you tell us what the resolution was?
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question