Admin login sessions (and customer login sessions) are managed via the PHP session-handling functionality.
When you log in, a session is generated, and the session's name is zenAdminId or zenid (for the store).
When a session is started, PHP attempts to set a cookie in your browser. That cookie is intended to store that session ID so that it doesn't need to be shown in the browser all the time (ie: with &zenAdminID=243524524524525 etc) at the end of all your URLs.
If a cookie cannot be set, then PHP simply includes the session name and number (like above) on all your URLs in order to keep you logged in.
When you log out, or the session ID is lost, the session data is reset and your authentication data is removed, requiring login again.
Possible causes of session-mgmt problems include:
- cookies are blocked by firewall or by browser configuration
- PHP is misconfigured or has certain session settings set to methods incompatible with Zen Cart such as session-auto-start and transitive-sid etc. The installer warns about these if they are a problem.
- you have your site configured to store session data in files but your filesystem doesn't have permissions set in such a way as to allow storage of the data
- you have your site set to store session data in the database but the database table ("sessions") is corrupt or database-storage is full and new records cannot be added.
1. In your /admin/includes/configure.php, what is your setting for this line:
Code:
define('STORE_SESSIONS', 'db');
// use 'db' for best support, or '' for file-based storage
2. Is the setting the same for your /includes/configure.php file ?
3. Is your "cache" folder set to read/write (ie: chmod 777):

Originally Posted by
crankytech
Session Directory: /home/pcsupers/public_html/cache