String name = request.getParameter("name");
Hits.increment("SessionState_getVar :: " + name);
boolean isDelete = "1".equals(request.getParameter("isdelete"));
String value = null;
if (setVarOnSuite(request)){
SahiTestSuite suite = request.session().getSuite();
value = suite.getVariable(name);
if (isDelete) suite.setVariable(name, null);
} else{
value = session.getVariable(name);
if (isDelete) session.setVariable(name, null);
}
httpResponse = new NoCacheHttpResponse(value != null