Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Return to RouteRequest does not end it

$
0
0
Return to RouteRequest does not end it
Web Connection 5.0
Return to RouteRequest does not end it
08/03/2012
01:43:13 PM
3KC0TEPU9 Show this entire thread in new window
Gratar Image based on email address
From:
Rick Strahl
To:
Attachments:
None

Don't use RETURN TO ROUTEREQUEST - there are lots of issues with RETURN TO in VFP including call stack corruption and issues with the exception handling in Web Connection.

You should just return from the PROCESS method and be done with it. Why do you need to do this - there should never be a reason for this.

+++ Rick ---



Hi Rick,

I have some code that I need to just exit quickly to WC and complete request regardless of the program stack but the page does not get my response:

Response.Clear() Response.Write("We're done here!") Response.End() RETURN TO RouteRequest

WC returns to the read event, but the webpage does not get the response.

What am I doing wrong?

Thanks,
Joy



Rick Strahl
West Wind Technologies

Making waves on the Web

from Maui, Hawaii


Viewing all articles
Browse latest Browse all 10393

Trending Articles