• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 331
  • Last Modified:

asp.net page content updated delayed

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
jssong2000
Asked:
jssong2000
  • 3
  • 2
1 Solution
 
Paul MacDonaldDirector, Information SystemsCommented:
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
 
jssong2000Author Commented:
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
 
Paul MacDonaldDirector, Information SystemsCommented:
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
 
jssong2000Author Commented:
very helpful. thank you!
0
 
Paul MacDonaldDirector, Information SystemsCommented:
Were you able to resolve your problem?  If so, can you tell us what the resolution was?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now