我正在开发asp.net mvc2应用程序。我有一个后退按钮的问题后,logout.That被修复与我在这里找到的例子。
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();现在,我有了一个新的problem.When,我单击注销,然后在浏览器中单击后退按钮,我进入空白页面。
如何选择要重定向的页面?
发布于 2013-08-19 19:21:06
注销后,跳转至首页:
Response.Redirect("/", true);或在控制器操作中:
return Redirect("/");https://stackoverflow.com/questions/18312502
复制相似问题