Home

logoff

Logoff, or log off, is the process of terminating an active user session on a computer system, service, or network. It typically ends the current authentication session, releases resources associated with the user, and returns the system to a state where another user can authenticate.

Logoff can apply to local operating systems, network services, and web applications. It is distinct from simply

A successful logoff usually clears in‑memory credentials, invalidates tokens, and resets session‑specific data. On a web

Terminology varies by platform. Logoff is often used interchangeably with log out or sign out, though some

Best practices include logging off on shared or public computers to prevent unauthorized use, or using a

Platform notes: Windows uses Log off to end a user session; macOS uses Log Out to terminate

disconnecting
a
remote
session,
which
may
leave
applications
running
on
the
host;
a
logoff
ends
the
session
context
and
closes
the
user's
processes.
service,
logging
off
generally
invalidates
the
session
cookie
or
token
so
the
user
must
authenticate
again
to
regain
access.
Some
systems
may
preserve
certain
user
preferences
or
application
states
for
the
next
sign‑in.
environments
reserve
log
off
for
ending
a
local
session
and
use
log
out
or
sign
out
for
remote
or
web
sessions.
Disconnect
is
a
related
term
used
for
terminating
a
network
connection
without
fully
ending
the
host
session.
device
lock
if
a
full
logoff
is
not
possible.
If
automatic
session
timeouts
are
available,
enabling
them
can
reduce
risk.
In
web
applications,
use
the
provided
log
out
option
to
ensure
server‑side
session
invalidation.
the
user
session;
Linux
desktop
environments
provide
similar
options,
while
many
Linux
servers
rely
on
shell
commands
like
exit
or
logout
for
non‑graphical
sessions.
Web
and
mobile
apps
implement
logoff
in
various
ways
through
session
management.