you would need to use if statements to choose which content to serve:
<?php if(isset($_SESSION['ContentType']) && $_SESSION['ContentType'] = "1") { ?>
show content for content type equals 1
<?php } ?>
you could use the following code to unset the session:
<?php if(isset($_SESSION['ContentType'])) unset($_SESSION['ContentType'])); ?>