Changeset 13809
- Timestamp:
- 2007-01-25T17:09:04+13:00 (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/remote/RemoteGreenstoneServer.java
r13597 r13809 985 985 System.err.println("gliserver args: " + cgi_args); 986 986 987 // Add username and password 987 // Add username and password, and a timestamp 988 988 cgi_args += "&un=" + remote_greenstone_server_authentication.getUserName(); 989 989 cgi_args += "&pw=" + new String(remote_greenstone_server_authentication.getPassword()); 990 cgi_args += "&ts=" + System.currentTimeMillis(); 990 991 991 992 URL download_url = new URL(download_cgi); … … 1037 1038 System.err.println("gliserver args: " + cgi_args); 1038 1039 1039 // Add username and password 1040 // Add username and password, and a timestamp 1040 1041 cgi_args += "&un=" + remote_greenstone_server_authentication.getUserName(); 1041 1042 cgi_args += "&pw=" + new String(remote_greenstone_server_authentication.getPassword()); 1043 cgi_args += "&ts=" + System.currentTimeMillis(); 1042 1044 1043 1045 URL gliserver_url = new URL(gliserver_url_string + "?" + cgi_args); … … 1072 1074 System.err.println("gliserver args: " + cgi_args); 1073 1075 1074 // Add username and password 1076 // Add username and password, and a timestamp 1075 1077 cgi_args += "&un=" + remote_greenstone_server_authentication.getUserName(); 1076 1078 cgi_args += "&pw=" + new String(remote_greenstone_server_authentication.getPassword()); 1079 cgi_args += "&ts=" + System.currentTimeMillis(); 1077 1080 1078 1081 // Open a HTTP connection to the URL -
trunk/gsdl/cgi-bin/gliserver.pl
r13794 r13809 56 56 # Remove the un argument (since this can mess up other scripts) 57 57 $gsdl_cgi->delete("un"); 58 59 # Get then remove the ts (timestamp) argument (since this can mess up other scripts) 60 my $timestamp = $gsdl_cgi->clean_param("ts"); 61 $gsdl_cgi->delete("ts"); 58 62 59 63 if ($cmd eq "delete-collection") {
Note:
See TracChangeset
for help on using the changeset viewer.