I've always done it this way (you would need the includes still):if (mLev = 0) then
Response.Redirect("default.asp")
end if
you may need to include inc_header, or at least the beginning of inc_header.
for your way you'd just need to add end if %>
to the end of the code you put there... again you might need inc_header included.