<分区>
Possible Duplicate:
How to get Url Hash (#) from server side
我在从变量中获取散列 值时遇到了一些问题。
我正在使用 AccountController
中的默认操作
[HttpPost]
public ActionResult LogOn(LogOnModel model, string returnUrl) { ... }
但如果我将此链接传递给:
http://localhost:1357/none/Account/LogOn?returnUrl=a/b/c#day-22
我永远无法捕捉到 #day-22
值
下面是登录后的断点:
我从来没有得到 HttpContext.Request.Url
对象的哈希值。
What can I do to forward the user to the correct URL with the hash part?