Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: refresh problem

  1. #1
    New Coder
    Join Date
    Mar 2004
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    refresh problem

    for some reason my localhost doesn't refresh anything that's being pulled in with PhP. Does anyone know how to change this. I am using Xampp (Apache server + Addons)

    Thanks

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What do you mean by "my localhost doesn't refresh anything that's being pulled in with PhP" ?

    I'd assume that "localhost" is the 'domainname' of your Apache server, running on the same machine as your browser. Do you mean that your browser shows PHP pages from it's cache instead of making a new call to the webserver?

    If this is what you mean : You can add a timer to the querystring so that there will be no cached files found.
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #3
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts
    alternative: use ctrl+r in your browser.. this usually forces the data to be downloaded again.

  • #4
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Or maybe it isn't cached and the data is simply the same?
    Omnis mico antequam dominus Spookster!

  • #5
    New Coder
    Join Date
    Mar 2004
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    a little more detail

    my page is made up of a general template. I pull in different type of pieces depending on what I need. For example I have a search box in the middle, that I keep separate from my template for editing reasons. It would be a mess if I kept it in one file. The weird thing is that if I update the template I immediately see all changes when I preview the page. But when I update the search box (just an html file) it pulls in the old file. Even if I rename it, it will still pull it in.
    Also some other content on the page that I generate from a database is updated as soon as I change things in the Database. I can't figure out why. I have alredy started to always change the backgroundcolor of my search box to see the change when it happens immediately and hit refresh many times, but nothing helps, like I said, even if the file is non-existant anymore it still pulls it from cash.

    Thanks for all your responses


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •