what's the difference between <% %> and [removed] in classic asp?

前端 未结 2 480
不思量自难忘°
不思量自难忘° 2020-12-10 16:32

I couldn\'t find much documentation on the web

so far now, the obvious difference seems to be that you cant mix html and vbscript using the \"script\" tag

fo

2条回答
  •  Happy的楠姐
    2020-12-10 17:06

    I've just had an issue on this matter and, for practical purposes, the code inside <% %> tags executes before code inside .

    The declaration of functions and procedures seems not to be affected by this difference in the way IIS understands the Classic ASP tags -- at least as I don't use conditional code loading with "Server.Execute".

    my server runs Microsoft-IIS/5.1 as in Request.ServerVariables("SERVER_SOFTWARE").

提交回复
热议问题