Python 2.1.1 ASP/Response object does not HONOR Response.End()
Jim Abrams
jim at publishingresources.com
Wed Jul 25 10:40:59 EDT 2001
Response.end()
(note lower-case 'e')
"Joe Salmeri" <JoeSalmeri at home.com> wrote in
<XPm77.38567$Ek3.14226736 at news1.rdc1.md.home.com>:
> 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