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: SESSINFO.redirectPage(UTIL.getURL('inbox')) else: _composeAndSend()
#!/usr/bin/python import sessioninfo as SESSINFO import nisutils as UTIL SESSINFO.uninitSession() SESSINFO.redirectPage(UTIL.getURL('login'))