MySQL CASE statement on a column alias

I am performing an IF on a column and giving the result an alias. The CASE statement that uses the alias doe not work (error – sessionDate does not exist in field list). However, if I substitute the alias for a column name it does work. How do I get around this please?