?
Solved

asp.net page content updated delayed

Posted on 2013-06-10
5
Medium Priority
?
328 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 1500 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

770 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