I am using the .Net memebership system, and uptil now I haven t had any real troubles with it. I now have a overlay where a user can create a profile. When the profile is created I just want to redirect to the same page, and not to the default page or the return url - which doesn t exists.
我曾试图阻止征象。 直接旅行
FormsAuthentication.RedirectFromLoginPage(username, false);
// End the redirect so it doesnt redirect to default url (front-page)
Response.End();
Response.Redirect(Request.RawUrl);
是否有人想如何解决这一问题?