Python 2.1.1 ASP/Response object does not HONOR Response.End()

Joe Salmeri JoeSalmeri at home.com
Tue Jul 24 18:40:55 EDT 2001


When using Python/ASP if you call the Response.End() method the rest of the
script is still processed

For Example:

** Script **

<@language="Python"%>
<%
Response.Write("This is line 1")
Response.Write("This is line 2")
Response.End()
Response.Write("This is line 3")
%>
This should NOT appear.

** End Script **

"This is line 3" and "this should NOT appear." both appear in the page
results.

Testing the same script with VBScript produces the correct results.

Is this a known bug?





More information about the Python-list mailing list