/*
* MiniMEE uses GRATE for emulation
* sessionids stay valid and need not be refreshed every time the service is called
*/
// if (action.getParamByName("sessionid") == null) {
lastSessionID = new EmulationService().startSession(
sampleObject.getShortName().replace(" ","_")+"."+sampleObject.getFormatInfo().getDefaultExtension(),
sampleObject.getData().getData(), action.getUrl());
//lastSessionID = lastSessionID + action.getParamByName("filetype");
// it is not very nice to store it as action param... but its MiniMEE specific
// action.setParamByName("sessionid", lastSessionID);