Hello, asp-info! Good afternoon all!

I have found the bug in Apache::ASP. It appears, "return" command
incorrectly leaves from <!--#include file="some.inc" --> - executing
of all code is finished.

To reproduce this mistake, make so:

File 1.asp
-----------------

111-A

<% $main::Response->Include("2.inc"); %>

111-B

<!--#include file="2.inc"-->

111-C


File 2.inc
-----------------


222-A
<% return; %>
222-B


In result on request 1.asp it is received:

111-A 222-A 111-B 222-A 

Thus, Response->Include works as it is necessary, and <!--#include --> is not present 
- a line 111-C
has disappeared for ever.

Thus, it is impossible to execute "return" in files which were
called using <!--#include file-->.

And how at you?

-- 
Best regards,
 Alexander                          mailto:[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to