<?php
// Grab the whole session array
$sessionData = session()->get();
?>
<footer class="py-4 text-center text-muted">
    &copy; <?= date('Y') ?> My Site

    <!---- show session contents (for debugging) -->
    <pre class="mt-3 small text-light bg-dark p-2 rounded">
<?= esc(print_r($sessionData, true)) ?>
    </pre>
</footer>
