def _processRequest(): ret = SESSINFO.initSession() if ret == False: SESSINFO.redirectPage(UTIL.getURL("login")) form = cgi.FieldStorage() sessInfo = SESSINFO.getSessionInfo() rowcol = CONST.getAllowedRowCol(form.getvalue("row"), form.getvalue("col"), sessInfo.getStatus()) _sendReply(rowcol[0], rowcol[1])
def _processRequest(): ret = SESSINFO.initSession() if ret != True: _sendError() return form = SESSINFO.getForm() row = UTIL.toInt(form.getvalue("row")) col = UTIL.toInt(form.getvalue("col")) status = SESSINFO.getSessionInfo().getStatus() rowcol = CONST.getAllowedRowCol(row, col, status) if row != rowcol[0] or col != rowcol[1]: _sendError() return msg = inboxdata.getInboxBodyObj(row, col) _sendReply(msg)