Hi, I output the value of a session variable to make sure it is what i want there, but then I do a comparison on it and it won&#039;t trigger, that it is the right value. I use the following code:<BR>&#039; This shows the value is there and is the value "FB"<BR>Response.Write(CSTr(Session("MainPICode")) )<BR>&#039;Then I check whether it it true or not and it doesn&#039;t go <BR>&#039; into the if statement.<BR>If Session("MainPICode") = "FB" Then