+ "&ref_id=" +IliasRefId
	private final String IliasCommit () {		core.transEnd();		StringBuffer P = new StringBuffer();		Hashtable ins = core.getTransNew ();		Hashtable mod = core.getTransMod ();		core.transBegin();		int i=0;		for (Enumeration e = ins.keys(); e.hasMoreElements(); i++) {			Object l = e.nextElement();			Object r = ins.get(l);			P.append("&iL["+i+"]="+l.toString());			P.append("&iR["+i+"]="+URLEncoder.encode(r.toString()));		}		int u=0;		for (Enumeration e = mod.keys(); e.hasMoreElements(); u++) {			Object l = e.nextElement();			Object r = mod.get(l);			P.append("&uL["+u+"]="+l.toString());			P.append("&uR["+u+"]="+URLEncoder.encode(r.toString()));		}		if (i == 0 && u == 0) {			say ("Nothing to do.");			return "true";		}		HttpURLConnection http;		try {			http = (HttpURLConnection) ( new java.net.URL (				getCodeBase().toString()				+ "../scorm_server.php"				+ "?cmd=store" 				+ "&api=2" 				+ "&user_id="+IliasStudentId				+ "&sco_id=" +IliasScoId			)).openConnection();			http.setRequestProperty (				"Content-Type",				"application/x-www-form-urlencoded"			);			http.setRequestProperty (				"Content-Length",				Integer.toString (P.length())			);			http.setDoOutput (true);			http.setUseCaches (false);			http.setRequestMethod ("POST");			http.setAllowUserInteraction (false);			OutputStream os = http.getOutputStream();			say ("post:" +P.toString());			os.write (P.toString().getBytes());			os.close ();			DataInputStream r = new DataInputStream(				http.getInputStream ()			);			try {				say (r.readUTF());				r.close ();			} catch (EOFException ok) {}			say (i +" inserted.");			say (u +" updated.");			return "true";		} catch (Exception e) {			say ("Ilias cmi storage failed.");			say (e.toString());			return "false";		}	}