Пример #1
0
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])
Пример #2
0
def _processRequest():
    ret = SESSINFO.initSession()
    if ret == True:
        SESSINFO.redirectPage(UTIL.getURL('inbox'))
    else:
        _composeAndSend()
Пример #3
0
#!/usr/bin/python
import sessioninfo as SESSINFO
import nisutils as UTIL

SESSINFO.uninitSession()
SESSINFO.redirectPage(UTIL.getURL('login'))