Solved and Pages not reflecting coding changes.

Posted on 2011-10-21
Last Modified: 2013-11-05
Hi folks,
    I am using, using Visual Studio 2010 Express in a Windows 7 platform. I have made sure that my Internet Explorer v9 is set to get fresh pages everytime. I do not have a test server and therefore use my computer as both.
   What happens is I will make changes to a web page and it still shows the "old Version"  but has the new code in the page. I have even deleted the entire website, recreated in IIS7, reloaded the pages into it. This situation is very counter-productive. It doesn't happen ALL the time but enough to cause some real headaches as I am uncertain of where I am with a page.
In classic ASP, I think I used something like no-cache and response.Expires but do not know if this would be applicable. What is causing the problem and how can I fix it ?
And please, as I am getting back into the swing of things, be thinking cap is still adjusting :)
Any help would be appericated.
Question by:Overthere
    LVL 30

    Accepted Solution

    This same issue I have put up with, but would clear up with
    Closing IE, Chome, FF, and then reopening them usually solved the issue for that session, even though, I still am not sure what caused it.

    If you are just not getting the live data, even though the code is changed, try another brother, as IE might be messed up.
    Try Chome or FF to see if they can grab the live updated pages.

    LVL 28

    Assisted Solution

    A couple things to note:

    1) Shift + clicking refresh will force a no-cache refresh in almost all browsers
    2) Make sure you are building the site and not just saving the changes
        - This is assuming you are using a web application project instead of a web site project
    3) Might sound stupid, but make sure you are browsing to the right location and editing the files for that location.

    Author Comment

    Where do I get Chrome?
    LVL 28

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Title # Comments Views Activity
    API not working 33 41
    Refresh page ASP.NET C# 3 36
    WCAG audit tools 1 38
    What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
    Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL ( several years ago, it seemed like now was a good time to updat…
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    794 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

    15 Experts available now in Live!

    Get 1:1 Help Now