def message_updates(): # need to unlock the session when using # session file, should not be need it when # using session in db, or in a cookie session._unlock(response) return chats.message_updates(db) return dict(message=T('Welcome to web2py!'))
def message_updates(): # need to unlock the session when using # session file, should not be need it when # using session in db, or in a cookie session._unlock(response) return chats.message_updates(db)