Ignore:
Timestamp:
2007-01-25T17:09:04+13:00 (17 years ago)
Author:
mdewsnip
Message:

All requests to gliserver.pl now include a timestamp as the "ts" argument.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/remote/RemoteGreenstoneServer.java

    r13597 r13809  
    985985    System.err.println("gliserver args: " + cgi_args);
    986986
    987     // Add username and password
     987    // Add username and password, and a timestamp
    988988    cgi_args += "&un=" + remote_greenstone_server_authentication.getUserName();
    989989    cgi_args += "&pw=" + new String(remote_greenstone_server_authentication.getPassword());
     990    cgi_args += "&ts=" + System.currentTimeMillis();
    990991
    991992    URL download_url = new URL(download_cgi);
     
    10371038    System.err.println("gliserver args: " + cgi_args);
    10381039
    1039     // Add username and password
     1040    // Add username and password, and a timestamp
    10401041    cgi_args += "&un=" + remote_greenstone_server_authentication.getUserName();
    10411042        cgi_args += "&pw=" + new String(remote_greenstone_server_authentication.getPassword());
     1043    cgi_args += "&ts=" + System.currentTimeMillis();
    10421044
    10431045    URL gliserver_url = new URL(gliserver_url_string + "?" + cgi_args);
     
    10721074    System.err.println("gliserver args: " + cgi_args);
    10731075
    1074     // Add username and password
     1076    // Add username and password, and a timestamp
    10751077    cgi_args += "&un=" + remote_greenstone_server_authentication.getUserName();
    10761078    cgi_args += "&pw=" + new String(remote_greenstone_server_authentication.getPassword());
     1079    cgi_args += "&ts=" + System.currentTimeMillis();
    10771080
    10781081    // Open a HTTP connection to the URL
Note: See TracChangeset for help on using the changeset viewer.