Solved

asp.net page content updated delayed

Posted on 2013-06-10
5
320 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
  • 3
  • 2
5 Comments
 
LVL 33

Expert Comment

by:paulmacd
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 33

Accepted Solution

by:
paulmacd 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 33

Expert Comment

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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now