Zammad session timeouts and session management

Shorten Zammad's default four-week sessions by role, review and end active sessions under System, Sessions, and understand which session data Zammad keeps.

On this page

Why Zammad session timeouts matter for a production helpdesk

Session timeout and session review are the two controls to set and check. A helpdesk holds customer names, contact details, ticket history and attachments, and agents often open it on shared desks, borrowed laptops or personal devices that stay unlocked for long stretches. Zammad's default session length is four weeks, which means a browser left logged in can keep working against customer data for most of a month unless someone shortens it. The default suits a small team that wants little friction, but it is rarely the right setting for a regulated organization, where an unattended session is treated as an access control gap.

The risk is not the same for every user. Agents work in the ticket queue all day and need a session that survives a coffee break without a fresh login, but they seldom need elevated rights. Admins can change roles, read the audit trail, reach integrations and manage other people's accounts, so a stolen or forgotten admin session is the more serious exposure. Many organizations therefore set a shorter timeout for admin roles than for agents, and confirm with their security team how long each group may stay signed in. Before changing anything, confirm which timeout settings your Zammad version exposes for each role in the admin documentation, because the options and their location can differ between releases.

Session policy sits beside two-factor authentication, password policy and single sign-on, not in place of them. A short timeout does little if the password is weak or the account has no second factor, and a strong login does little if a session stays open on a shared workstation. When you tighten sessions, plan them together with 2FA and with your identity provider, and check the active session list under System, Sessions after each rollout so you know what is still open. Ask your team to confirm the exact timeout values and the place where they are set in your Zammad version, not to rely on the default.

Which session controls fit which role and risk level

This table compares the session controls available in Zammad against the roles and risks they suit. Read each row as a choice you make for a group of users, then check the trade-off column against your own workstation and sign-in setup. The main takeaway is that one global session length rarely fits both shared-desk agents and administrators, so most teams combine a role-based length with regular session review.

ControlWhen it fitsTrade-offWhat to confirm
Default session length (four weeks)Low-risk users on private, managed devices where re-login friction is a concernLong-lived sessions stay valid on a lost or unattended laptop until they expire or are endedWhether your deployment still uses the default for every role before you change anything
Shorter session timeout for agentsAgents who handle customer data on shared desks, kiosks or contact center workstationsMore frequent sign-ins for agents, which can slow queue handling and push staff toward shared credentialsHow often agents sign in during a normal shift and whether a shorter length causes workarounds
Shorter session timeout for adminsAdministrators and anyone with access to system settings, user management or the APIInterrupted admin work during configuration or long troubleshooting sessionsWhich accounts hold admin roles, and whether admin work is scheduled so re-login does not disrupt it
Reviewing and ending individual sessionsInvestigating a suspected compromise, after a staff departure or after a device is reported lostRelies on someone checking the list, so it does not protect sessions nobody looks atWho on your team reviews the Sessions list, how often, and who may end sessions for other users
Identity provider session length (SSO)Organizations that sign staff in through SAML or OpenID Connect and manage session policy centrallyZammad session behavior depends on the identity provider, so changes in the IdP affect Zammad users indirectlyWhether your IdP session and re-authentication settings are documented and apply to Zammad users
Combining SSO with a shorter Zammad sessionRegulated teams that want central sign-in policy plus a limit on how long a Zammad browser session stays openTwo timers to explain to users and to test, and more places where a setting can driftWhich timer governs each role, and how the two are tested together after any change
Geo-based suspicious login alertsTeams that want notice of sign-ins from unexpected locations as a detection signalLocation data is approximate and depends on the GeoIP setup and client IP detectionWhether GeoIP is enabled in your deployment and whether proxy settings give Zammad real client addresses

How to shorten session timeouts and review active sessions

This sequence sets a shorter session lifetime for each Zammad role, proves the change on a test account, and then clears stale sessions so only current, expected logins remain.

  1. Inventory roles and admin holders

    Before changing anything, list every Zammad role in use, such as agents, admins and customers, and name the people who hold administrator rights. The security lead and the Zammad administrators should agree on this list, because only admins can change session settings and review sessions. Record which roles reach sensitive data, such as agents who see full ticket history or those who handle personal data. Done means you have a written list of roles, their risk level and the named admins who will make and review the change.

  2. Decide a timeout for each role

    Assign a session lifetime to each role based on how sensitive its data is and how the team works, such as shorter lifetimes for privileged admins and possibly longer ones for low-risk users. Confirm in the current admin documentation for your version which session settings Zammad exposes and whether they apply per role or globally, since this determines what you can actually vary. Record the chosen values, the reason for each and the approver. Done means every role has a documented value that the security owner has signed off.

  3. Apply the session setting in the admin interface

    As an administrator, open the security settings in the Zammad admin interface and enter the timeout values decided in the previous step. Confirm the exact menu path and setting names in the admin documentation for your installed version, because labels can change between releases. Save the change and note the time and the admin who made it. Done means the saved values match your decision record and the settings page shows them after a reload.

  4. Test expiry with a non-production account

    Use a test account on a staging or non-production instance, or a dedicated low-privilege test user, for each role you changed. Log in, leave the session idle, and confirm that it expires at the configured time and that the user is asked to log in again. Also confirm that an active session keeps working as expected. Done means each role has a recorded test result showing expiry happened when it should, and any mismatch has been fixed or escalated before production use.

  5. Open System, Sessions and review active sessions

    In production, open the Sessions area under System in the admin interface and list the active sessions. For each entry, compare the shown user, IP address, browser and original login time with what you expect for that person. Zammad records session information that can include a geographic location, so treat that as an indicator, not proof. Done means you have a list of sessions marked as expected or suspicious, with the reviewer's name and date.

  6. End stale and unexpected sessions

    Delete sessions that belong to former staff, unused devices, or logins you cannot explain, using the delete action in the Sessions view. Ask the affected user to confirm their own sessions where possible, and treat unexplained sessions as a potential account compromise that needs a password reset and a check of the admin audit log. Done means the stale entries are gone, the user confirmations or escalations are recorded, and the session list shows only sessions you can account for.

  7. Record the change for the review team

    Write a short change record that names the roles, the timeout values, the test results, the date of the Sessions review and the sessions ended. Store it where the security and compliance reviewers can find it, and set a repeat review date with the owner named. Confirm with your Zammad version's documentation how admin actions appear in the audit log so the record matches what Zammad keeps. Done means the reviewers have the record and a repeat review is scheduled.

How GeoIP-based suspicious login alerts depend on session location

Location-based login alerts are only as good as the data behind them. In Zammad, the session record stores the IP address the application saw, possibly a geographic location derived from it, the browser, and the original login and last visit times, all viewable under System, Sessions. Before you rely on any GeoIP-based suspicious login logic, confirm that the client IP recorded for each session is the real user address. Behind a load balancer or inside a Docker network, the application may only see the proxy, which makes every login look like it came from one place. That is why this topic depends on the trusted proxy configuration covered in the sibling topic on RAILS_TRUSTED_PROXIES and client IP detection.

Do not assume the alert behavior from the feature name alone. Confirm in your own version of the admin documentation exactly how a suspicious login is decided, what counts as a change in location, and whether the alert is raised in the interface, by email, or not at all. Confirm who receives the notification, whether it goes to the affected user, to administrators, or to both, and whether that recipient list can be changed. Also confirm the lookup itself: if the geographic resolution calls an external service or map provider, login IP data leaves your environment. Treat that data flow as a decision, not a default. The trade-off between keeping location alerts and keeping lookups inside your boundary is covered in the external services hardening topic, so make that call before you document the alerting as a control.

Once you know how alerts are triggered, test them on a staging copy with a known login from a second network or a VPN exit in another region. Check that the session entry shows the address and location you expect, and that the alert fires or does not fire as your documentation states. Record the results, because an auditor or security reviewer will ask whether the control works, not whether the setting exists. If the test shows the wrong address, fix the proxy configuration first and retest before you tune anything else.

Security and operational risks of weak session control

Sessions are the part of Zammad that stays open after a person has logged in and left the building. The cards below cover the risks that follow when timeouts, active session reviews and stored session data are left to defaults, and the owner who should check each one.

Long-lived sessions on shared devices

Agents often work from shared workstations, kiosks or tablets at the front desk. A session that stays valid for the full default period lets the next person at the device act as the previous agent, including viewing customer data and changing tickets. Check the session timeout set for each role, and confirm with the helpdesk lead which roles use shared hardware. The service desk manager owns this check, and it should be repeated after any change to device policy.

Sessions docs

Admins who keep access after role changes

When an agent is promoted to admin, moved to another group or loses a permission, an existing session may keep the old rights until it ends or is removed. The control is to review active sessions for anyone whose role changed and end the ones that no longer match. The Zammad administrator owns this check, and the change ticket for the role change should include a session review step.

Stale sessions from departed staff

Leavers can keep an active session open after their account is disabled in a directory or removed from the helpdesk, especially when staff sign in through a long-lived browser session. Reconcile the list of active sessions against the current staff roster at each offboarding and at a regular interval. The HR offboarding owner and the Zammad administrator share this task, and the result should be recorded in the access review evidence.

Misread IP data behind proxies

Session records store the IP address seen by Zammad. Behind a load balancer or a Docker network, every session can appear to come from the proxy, which makes the session list look uniform and hides real locations. Confirm that trusted proxy settings are correct and test with a known login from two networks. The platform engineer owns this check, because a wrong setting undermines both the session review and the suspicious login alerts.

Location data kept beyond policy

Session information can include geographic location, browser, original login time and last visit. If retention is not aligned with your privacy notice and data retention schedule, these records can outlive the purpose they were collected for. Ask the privacy lead to define how long session data should be kept, then check what is stored and remove what is no longer needed. The data protection officer owns the retention decision.

Privacy docs

Sessions missed during incident response

During a suspected account compromise, responders need to know which sessions are active, where they started and when they were last used. If sessions are not part of the response runbook, a hijacked session can stay valid after the password is reset. Add a step to end all sessions for the affected account and record the review. The security operations lead owns this runbook step, and it should be rehearsed alongside other access incident steps.

How a login session is created, reviewed and ended

The flow starts with a user signing in, either with a local password or through an identity provider. Zammad then creates a session record that holds the IP address, possibly a geographic location, the browser, and the original login and last visit times. An admin reviews these entries under System, Sessions, and can end one. A privacy reviewer checks the same stored data against the retention position. Check that the session records match what your privacy notice describes.

Session creation, admin review and ending, with the privacy reviewer checking stored data.

Limits to confirm before you change session policy

Session policy in Zammad does not sit in one place. Lifetimes in SSO flows, behavior of sessions that already exist, API token handling and the retention rules that apply to stored session data each depend on the deployed version and on other systems. Confirm each item against vendor documentation and a staging test before you change production.

SSO session lifetime

When staff sign in through SAML or OpenID Connect, the identity provider usually controls how long the login lasts and when it must be re-entered. A shorter timeout in Zammad may not end the session that the identity provider still considers valid. Check the identity provider's session and idle settings, then test a sign-in, a period of inactivity and a sign-out to see which timer actually applies.

Third-party login docs

Existing sessions after a change

Confirm whether a new timeout applies to sessions that were already open when you saved the change, or only to logins made afterward. Test this with a test agent who is logged in on two browsers before and after the change. Record the result, because a session that survives a policy change is a gap that a reviewer will ask about.

API tokens and timeouts

Browser session timeouts do not necessarily govern REST API tokens. Token lifetime, expiry and permissions are a separate control, so a shorter browser session does not shorten an integration's access. Review the tokens topic in this group and confirm how token expiry is set in your version before you describe the policy as complete.

Retention rules for session data

Session records hold IP address, possibly geographic location, browser, original login time and last visit. Read the privacy and data retention documentation for your deployed version to find out how long these records are kept and whether they are removed automatically. Map those rules to your own retention schedule and confirm the result in a staging copy.

Privacy and retention docs

Geographic data and external lookups

Session location may depend on a GeoIP lookup, which can send data outside your infrastructure. Confirm whether your deployment performs this lookup, which service it contacts and whether it is disabled in a restricted network. Record the decision alongside your privacy review so the session policy and the external services policy agree.

Questions teams ask about Zammad session timeouts

How much effort does shortening Zammad session timeouts take?

The effort depends mostly on how many roles you need to differentiate and how many systems sit behind the change. Changing one global timeout is a short configuration task, but a per-role policy needs a role inventory, a test matrix for each role, and a check that agents still get through long ticket work without repeated logins. Teams with a small number of roles and a staging copy usually finish faster than teams with many groups, custom roles and integrations that hold API or chat sessions. Ask any partner to show the written test cases for each role before accepting a quote.

Can our internal team shorten Zammad sessions without a partner?

Yes, a capable administrator can change session settings and review the Sessions list under System without outside help. The harder parts are deciding the right timeout per role, confirming that the change does not break integrations or long-running agent work, and documenting the decision for your security and privacy reviewers. Internal teams often handle the configuration well and need more time for the testing and evidence. A partner is most useful when you want the change tested on a staging copy and written up for an audit or customer review.

What does the work need from our team before it starts?

Plan to provide four inputs: a current inventory of roles and the people in each, the business reason for each timeout, sign-off from privacy or data protection owners, and access to a staging copy of your Zammad instance. The role inventory shows where shorter sessions matter most, such as shared workstations or contractors. The privacy sign-off matters because session records include IP address, possibly geographic location, browser and login times. A staging copy lets you test timeouts without touching agents in production.

How long does a session review cycle take to plan?

The planning time depends on how many stakeholders must approve the policy and how many environments you need to test. Start with the approvals, because privacy and security owners often take longer to agree than the configuration takes to apply. Then schedule the staging test, the production change and the first review of the Sessions list. Ask any provider for a written schedule tied to your approval dates rather than a fixed number of weeks, since those dates depend on your governance process.

Does single sign-on change how Zammad session timeouts work?

Single sign-on changes who controls the login, but it does not remove the need for a Zammad session policy. Users who sign in through SAML or OpenID Connect still get a Zammad session once they are inside, so the timeout and session review still apply. You also need to confirm how your identity provider's own session lifetime interacts with Zammad's, because a long identity provider session can silently renew a short Zammad session. Check this with a test login on the staging copy and review the identity provider settings with the team that owns them.

What does recurring session review look like after the change?

Recurring review is a short, scheduled check of the Sessions list under System and of the policy itself. Someone reviews active sessions, looks for unexpected locations, old browsers or accounts that should have been disabled, and ends sessions that no longer belong. The policy should be revisited when roles change, when staff leave, or when a new integration starts holding sessions. Decide the review frequency and the owner in advance, and record each review so you can show it to auditors. Confirm with your own security team what frequency fits your risk profile.

Where do GeoIP-based suspicious login alerts fit into session management?

GeoIP-based alerts help you notice logins from unexpected locations, but they depend on location data that Zammad may derive from IP addresses. Before relying on them, confirm which external geo lookup services your deployment uses and what data those services receive. Location accuracy varies, so treat an alert as a prompt to check the Sessions list, not as proof of compromise. Your privacy review should cover both the alerts and any external services involved.

Does DeployOpen issue a compliance certification for session settings?

No. DeployOpen can plan the session policy, configure it on a staging copy, test each role and prepare the evidence your compliance team needs, such as the policy record, test results and review log. Independent auditors and certification bodies decide whether your controls meet a given standard. Ask any provider to confirm in writing what they deliver and what remains with your auditor.

How DeployOpen works on this

DeployOpen scopes Zammad session timeouts and session management as a written, fixed-scope piece of work inside your own infrastructure. We set per-role session lengths, review active sessions under System, Sessions, and document what session data your instance keeps, so your security and compliance teams can verify the result.

How we scope

  • Inventory which agent, admin and customer roles need separate session lengths and who approves each value
  • Confirm which login paths apply, including local passwords, SAML or OIDC single sign-on and any LDAP accounts
  • Agree in writing whether suspicious-login alerting and session review are in scope, and which teams receive them
  • Record the data retention, privacy and audit expectations that the session settings must support

How we build

  • Set session lifetimes per role in your staging copy first, then document the values and the reason for each
  • Walk through System, Sessions with an admin account to confirm which fields appear for your version
  • Configure GeoIP-based suspicious login alerts only after confirming how client IP detection works behind your proxy
  • Test forced logout, re-login and session ending with a test agent account before any production change

How we hand over

  • Deliver a written configuration record listing each session setting, its value, its owner and its test result
  • Provide a short review procedure for administrators to check active sessions and end stale ones on a set schedule
  • Document the session data Zammad stores, where it is shown, and how an admin can view or delete it
  • Walk your administrators through the procedure and file the runbook with your existing security documentation

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so session settings can be rechecked after each release
  • We retest session behavior after upgrades, proxy changes or identity provider changes that affect logins
  • Scope changes are agreed in writing before work starts, and a quote follows from the written scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.