[thelist] is my asp style sloppy?

David at softv.net David at softv.net
Thu Feb 14 10:01:01 CST 2002


Hi,

I wouldn't say it's sloppy, but it can be inefficient. One of the cardinal
rules in ASP development is to avoid context switching as much as possible
(switching between asp code blocks and html).
Generally, this is better:

<%

if age > 18 then
	Response.Write("<A HREF=adult.asp>Adults</A>")
end if

%>




More information about the thelist mailing list