0
接收数据我建设,基本上处理从一个Flash应用程序接收数据后的动作,我不能让redirecttoaction在asp.net的MVC从闪存
我没有问题,接收到数据后工作。
之后,它应该重定向到另一个控制器/动作
我试图重定向,RedirectToRoute,没有一次成功。
这里是我的代码
[AcceptVerbs(HttpVerbs.Post)]
public RedirectToRouteResult Draw(FormCollection form)
{
string bitmapDataString = Request.Params["someimagedata"];
byte[] bitmapData = Convert.FromBase64String(bitmapDataString);
File.WriteAllBytes(Server.MapPath("~/Images/abc.jpg"),
return RedirectToAction("Register", "Participant");
}
谢谢BZink。解决方案是让Flash应用程序在发布后处理重定向。 – walter 2011-04-18 22:37:32