Changeset 6063


Ignore:
Timestamp:
2003-12-01T15:02:00+13:00 (20 years ago)
Author:
jmt12
Message:

A timestamp argument is now used to always generate a unique url so that IExplorer isn't too smart for its own good and uses a cached version

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/CreatePane.java

    r6039 r6063  
    5858import org.greenstone.gatherer.shell.GShellProgressMonitor;
    5959import org.greenstone.gatherer.util.AppendLineOnlyFileDocument;
     60import org.greenstone.gatherer.util.StaticStrings;
    6061
    6162/** This class provides a GUI view showing some statistics on your current collection, and options for building it. As the collection is built this initial view is replaced with one showing progress bars and a message log of the creation process. This log can be later accessed via the options tree located in the center of the initial pane. This class is also responsible for creating the GShellProgressMonitors that are then attatched to external shell processes, and calling the methods in the CollectionManager for actually importing and building the collection. <br><BR>
     
    434435        }
    435436    }
    436    
    437     homepage = Gatherer.config.exec_address.toString() + "?a=p&p=about&c=" + current_collection.getName()+extra_args;
     437
     438    // Remember to add unique timestamp
     439    homepage = Gatherer.config.exec_address.toString() + "?a=p&p=about&c=" + current_collection.getName()+extra_args + StaticStrings.TIMESTAMP_ARGUMENT + System.currentTimeMillis();
    438440   
    439441    }
  • trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java

    r6051 r6063  
    181181    static final public String TEXT_NODE                                  = "#text";
    182182    static final public String TEXT_STR                                   = "text";
     183    static final public String TIMESTAMP_ARGUMENT                         = "&uq=";
    183184    static final public String TRUE_STR                                   = "true";
    184185    static final public String TRUNCATED_STRING                            = "...";
Note: See TracChangeset for help on using the changeset viewer.