How can I print session values in different places in the code?
===

I have problem in printing the values of session when I put the print statement directly after the session_start() function it prints but if I put it lower in the code it does not print ! 

    <?php  session_start();print_r($_SESSION);
    ?>
    <? include("db1.php");
    define('WP_USE_THEMES', false);
    require('blog/wp-blog-header.php');
    ?>
    <!DOCTYPE html>
    <html lang="en">
    
    <head>
    	<title><? print_r($_SESSION['title']);?></title>
    </head>
</html>