阅读背景:

在asp.net mvc操作过滤器中重定向到指定的控制器和操作。

来源:互联网 

I have written an action filter which detects a new session and attempts to redirect the user to a page informing them that this has happened. The only problem is I can not figure out how to make it redirect to a controller/action combo in an action filter. I can instead only figure out how to redirect to a specified url. Is there a direct way to redirect to a controller/action combo in an action filter in mvc2?I have written an action filter which detects a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: