Solved

asp.net page content updated delayed

Posted on 2013-06-10
5
321 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

932 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

16 Experts available now in Live!

Get 1:1 Help Now