SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2000
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have got links that will open a popup windows. The code in the popup window is CFML code. I need to make sure that I get the current copy of this code each time and not a cached copy. Right now I am not getting the most recent copy. I have to Go into the browser and delete temp internet files, then I get the current copy. What can I do to insure that I get the current copy everytime I click on the link for the popup.


  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    slap an extra variable called ck( stands for cachekiller, I made that one up) with the value of the current unix timestamp on the end of your link to open the window. It will keep the computer from caching the page by tricking it into thinking that is a new copy of the page everytime.

    so your url to the open window would be something like
    Although I am not sure how to get this timestamp using CFML
    somepage.cfml?ck=2345245
    Please don't PM me with questions.
    Use the forums, that is what they are here for.


Bookmarks

Posting Permissions

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