Author: dotBomb | Posted on: 10/20/2008 3:10:26 PM | Views : 545

Hello, Why, if a return URL exists ('returnURL variable is populated), does Response.Redirect always throw an exception.  Further the exception message reads:
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
protected void PortalLoginControl_Authenticate(object sender, AuthenticateEventArgs e) { try { // 'errorResponse' (string) and 'objResponse' (XmlDocument) stuff omitted for brevity // if (errorResponse == null) { e.Authenticated = true; // Add the portal session ID to the XMLDocument object ... // ...

Go to the complete details ...