I understand that the admin session is unset when you log out of the admin panel...somehow though, the 'zenAdminID' (a cookie in the "zenid" session) remains in the 'zenid' session cookies...to replicate:
add the following near the top of your template (somewhere in tpl_header.php):
<?php print_r($_COOKIE); ?>
open the page where the info will be displayed..you will notice that there is no mention of 'zenAdminID'...then in another tab, login to admin and log out...it does log out of the admin interface..but when you go back to the other tab and refresh..low and behold the 'zenAdminID' cookie is set..even AFTER logging out of the admin interface...this info has to be somewhere for it to be retrieved..i need it to completely unset when the admin logs out..even from the 'zenid' session..i've looked through every file/db table in zen cart and can't figure this crap out...
Also, if you do this:
<?php
print_r($_COOKIE['zenAdminID']);
unset($_COOKIE['zenAdminID']);
?>
and refresh..this cookie is still set..so i then did this:
<?php
unset($_COOKIE['zenAdminID']);
print_r($_COOKIE['zenAdminID']);
?>
and the cookie was finally gone...so this means that it's being loaded and set on every page load...so how do i edit the 'zenid' session so that when you log out of the admin panel, it unsets this annoying cookie?