I just notice that when ever I add this codes on the Magento Footer:
$current_id = Mage::registry('current_category')->getId();
echo $current_id;
The Category ID is not changing whenever I change the Category. It only changes when I clear the cache.
It is possible that the Magento Footer is a Static One? Cause I won't update unless you clear any cache.