<% IF Session("PP") = "Yes" then %> <% End if %> ASP to PHP <?php if($_SESSION['PP'] == 'Yes'){ //do something here } ?> PHP: