I am comparing session variables to null. I am getting different results dependending on how I code the if statement below :
<%....
if isempty(session("x"
) then ... ;this seems to work INcorrectly if x is null
if isempty(response.write(session("x"
)) then ... ;this works correctly if x is null
or what about
if session("x"
=nothing then ...
or
if session("x"
="" ...
%>
Any suggestions on how to check for null strings in session variables.
thanks
<%....
if isempty(session("x"
if isempty(response.write(session("x"
or what about
if session("x"
or
if session("x"
%>
Any suggestions on how to check for null strings in session variables.
thanks