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

Joe Salmeri JoeSalmeri at home.com
Wed Jul 25 14:16:32 EDT 2001


Thanks Jim.

Are all the methods supposed to be lower case.

I'm using the ASP documentation at
http://www.w3schools.com/asp/asp_ref_response.asp whichs shows the method
names with an upper case first letter.  I just did a test and Response.Write
and Response.write BOTH work.  I wonder why Response.End() doesn't raise an
AttributeError?

Do you have any good sources for documentation using Python and ASP?  There
do not seem to be many and those that I have found are minimal at best.

"Joe Salmeri" <JoeSalmeri at home.com> wrote in message
news: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