Windows Server 2003, IIS 6, ASP Classic
I need to do something like this:
dim pageNum
pageNum = request("page")
if pageNum = "" then pageNum = 1
....and I need to do it several times. Another approach would be to do
this:
function fnPageNum
fnPageNum = request("page")
if fnPageNum = "" then fnPageNum = 1
end function
dim pageNum
pageNum = fnPageNum
In one method more efficient than the other, or do IIS not care either
way?
Bill in Kansas City