我正在尝试使用参数从 forminput.html 重定向到 URL('form','results')(在我的情况下,它是一个巨大的字典,即输出)。但是当网页被重定向到 results.html 时,所有的参数也都包含在 web Url 本身中,这是我们不想要的,原因有两个,安全性和 url 的冗长类型。
你能在这种情况下帮助我吗?
提前致谢
/*this my controller, form.py*/
my_funct():
out_dict=dict() // out_dict is a huge dictionary with 100 of keys and values
return out_dict
define forminput():
outout=my_funct()
redirect(URL('form','results', vars= dict(out=output)))
define results():
data=request.vars['out']