asp classic - In ASP CLASSSIC inclusions are executed before or after the statements? -
let's assume have situation like:
if session("lenguage") = "eng" <!--#include file="eng_page.asp"--> else <!--#include file="not_eng_page.asp"--> end if
i understand if result asp file have booth includes (and 1 of them executed) or have 1 depends on session variable. mean, may use decrease weight of page? of if know snippets of codes included if deserve it...
just use server.execute:
if session("lenguage") = "eng" server.execute("eng_page.asp") else server.execute("not_eng_page.asp") end if
Comments
Post a Comment