variable_exists()
Example 1
'old method to determine if someone is logged in
if variable_exists("session.userid") = .f.
do something if true
else
do something if false
end if
Example 2 - a5w page variable
var1 = if(variable_exists("request.variables.CUSTOM"),request.variables.CUSTOM,"")
Replaces
- eval_valid()