What common mistake can lead to session data being overwritten on each page load in PHP?

The common mistake that can lead to session data being overwritten on each page load in PHP is not starting the session at the beginning of each page where session data is needed. To solve this issue, you need to call `session_start()` at the beginning of each PHP file that requires session data to ensure that the session is initialized and maintained throughout the user's visit.

<?php
session_start();

// Your PHP code that requires session data goes here
?>