The most logical way that came to my mind was doing
var example2 = "Jake"
if (<%=Session["example1"]%> == example2){
Code
}
However i get this error: The value of what is written inside that session variable is "undefined"... so if it were a name(Bob) that's inside that session variable, it would say Bob is undefined
Anyone got a solution for me?