Hello everyone! I want to do something like:
def selector(): try: x = db.headers[request.vars.ID] if x is None: response.flash = T('ID incorrect') redirect(URL(r=request, f='index', args=(request.args[1]))) except: response.flash = T('ID incorrect') redirect(URL(r=request, f='headers', args=(request.args[1]))) response.flash does not keep its value when you redirect. Is it possible to fix or workaround? Sergey