I want to compare a variable Session to know if he is admin or not.
But it's don't work. To verify if i have a session active, i do <%= Session["Role"] %> and i see Administrateur.
I don't know why he don't enter in my statement if.
string role = Session["Role"].ToString();
if (role == "Administrateur")
Thanks for help.