Blog Sections Open

Why the Manager Logs Out When an Admin Opens the Public Site

If opening the public site logs an admin out of the manager, the issue is usually in session overlap, cookie scope, or custom authentication logic.

Few bugs are as irritating as this one: the manager is open and working, but as soon as the administrator visits the public site, the manager session is lost.

What Usually Causes It

  • shared session data colliding between frontend and manager
  • custom login/logout code touching the wrong session keys
  • comment or auth extras such as Jot or custom account code interfering with cookies
  • domain or subdomain cookie scope problems

Where to Look First

Start by reviewing anything that modifies authentication state on the public side. Frontend login helpers, custom logout actions, and third-party account extras are the first suspects. Then review cookie domain and path settings so manager and site do not overwrite each other unexpectedly.

Practical Takeaway

Manager auth and public auth may live in the same installation, but they should not casually share destructive session behavior. If the manager dies when the frontend loads, inspect session handling before blaming the browser.

Newer post

What to Check When the Evolution Cache Directory Fills with Thousands of Files

How to investigate oversized cache directories and decide whether the problem is normal cache churn or a misconfigured cache strategy.

Older post

Fixing AjaxSearch When One-Letter Words Stop Returning Results

Why AjaxSearch can miss short prepositions and other one-letter terms, especially after minChars changes, and how to tune it more carefully.