I have done this sort of thing thousands of times with access:
[red]<%
if Session("memberID") = rsApplication("ID") then
response.write ("do something")
else
response.write ("do something else")
end if
%>[/red]
But it won't work. I do a check ... the values match but I get the 'else' response.
I use the same session("memberID") to build a membership recordset and then it works as it should ...
[red]if rsMember("ID") = rsApplication("ID") then[/red] ... and it all works
I check MySql - both int fields - the one generating the session and application. Change them to Integer fields - but same result.
Can anyone shed any light on this?
"Away from the actual ... everything is virtual"
[red]<%
if Session("memberID") = rsApplication("ID") then
response.write ("do something")
else
response.write ("do something else")
end if
%>[/red]
But it won't work. I do a check ... the values match but I get the 'else' response.
I use the same session("memberID") to build a membership recordset and then it works as it should ...
[red]if rsMember("ID") = rsApplication("ID") then[/red] ... and it all works
I check MySql - both int fields - the one generating the session and application. Change them to Integer fields - but same result.
Can anyone shed any light on this?
"Away from the actual ... everything is virtual"