Skip to main content

Guest WiFi Session Timeouts: Balancing UX and Security

You will be able to set idle and absolute guest WiFi timeouts for each venue type, align DHCP leases with them, and choose when to force a visible re-login. You can then reclaim addresses, keep dwell data accurate and refresh GDPR consent, while returning guests rarely see the captive portal twice.

By Tom HackettPublished Updated
📖 14 min read3,095 words2 worked examples3 practice questions12 key definitions

Video overview

Listen to this guide

View podcast transcript
[Intro Music - Professional, upbeat corporate electronic] Host: Welcome to the Purple Technical Briefing. I'm your host, and today we're tackling a topic that sits right at the intersection of network engineering and customer experience: Guest WiFi Session Timeouts. If you're an IT manager, a network architect, or a venue operations director, you know this struggle. The marketing team wants guests to connect once and never see a login screen again. The security and infrastructure teams are watching the DHCP pool drain and worrying about stale, unauthenticated sessions. Today, we're going to bridge that gap. We'll discuss how to set timeouts that keep users connected without compromising your security posture or your IP availability. [Transition sound] Host: Let's dive into the technical mechanics. When we talk about a 'session timeout,' we're really talking about two distinct timers operating on your network controller: the Idle Timeout and the Absolute Timeout. Think of the Idle Timeout as your inactivity monitor. It's watching for active data transmission. If a client device sends or receives absolutely nothing for a specified duration, the controller terminates the session. The primary purpose here is resource reclamation. It frees up DHCP leases and Access Point memory allocated to devices that have physically left your venue without formally disconnecting. However, there's a catch. Modern smartphones are incredibly aggressive about sleeping to save battery. When they sleep, they stop transmitting. If you set your idle timeout too aggressively - say, five minutes - you're going to disconnect sleeping devices. When the user pulls their phone out of their pocket to check an email, they're forced back to the captive portal. It's a terrible user experience. For typical environments, an idle timeout between 30 and 60 minutes is the sweet spot. Now, let's look at the Absolute Timeout. This is the hard timer. It dictates the maximum total duration of a session, regardless of whether the device is actively transmitting data. Once this timer hits zero, the session is killed, and the user must re-authenticate. Why do we need this? It enforces daily usage limits, it ensures users periodically re-accept your Terms and Conditions, and it forces a security re-validation. The challenge is that it's disruptive. It will interrupt active sessions - even VoIP calls. Therefore, your absolute timeout must align with the typical dwell time of your venue. [Transition sound] Host: Let's look at some real-world implementation recommendations. There is no one-size-fits-all here. Take a high-turnover retail store. Shoppers move quickly. Your goal is to capture accurate footfall analytics and perhaps deliver targeted marketing, while preventing loitering. In this scenario, an idle timeout of 15 to 30 minutes is perfect. If a device is silent for half an hour, they've left the store. Your absolute timeout should be around 2 to 4 hours, covering the longest typical shopping trip. And you'd want to use MAC authentication bypass - or MAB - for silent re-authentication over 7 to 14 days to track returning customers. Now, compare that to an enterprise hospitality environment - a hotel. Guests expect a home-like experience. If you force them to log in every four hours, your front desk is going to be flooded with complaints. Here, your idle timeout needs to be much longer - 4 to 8 hours. Guests leave devices in their rooms while they go to the pool; those devices shouldn't be dropped. The absolute timeout should be 24 hours, or ideally, tied directly to the checkout date via an integration with the Property Management System. And finally, consider a massive transport hub like an airport or a stadium. Dwell times are highly variable, and IP address exhaustion is a critical, immediate risk. You have tens of thousands of transient devices. In this environment, resource conservation trumps seamless UX. You need an aggressive idle timeout - 15 minutes - to rapidly reclaim IPs. Your absolute timeout might be 4 hours, and you generally require manual re-authentication to manage bandwidth hogs. [Transition sound] Host: Before we move to Q&A, I want to highlight a few critical pitfalls to avoid. First: Misaligned DHCP leases. This is the number one configuration error we see. Do not set a 2-hour session timeout but an 8-hour DHCP lease. If a session is dead, the IP should be free. Your DHCP lease time should closely match or just slightly exceed your absolute session timeout. Second: Ignoring MAC Randomisation. iOS and Android use private MAC addresses by default now. If your network relies heavily on MAC-based re-authentication for that seamless return experience, you need to educate users. Use your splash page to instruct them to disable MAC randomisation for your specific SSID if they want a multi-day seamless connection. Third: Operating in the dark. Use your WiFi analytics. Look at your session lengths. If 90% of your users naturally leave within 45 minutes, setting a 12-hour absolute timeout is just carrying unnecessary risk. Base your timers on actual dwell time data. [Transition sound] Host: Let's do a quick rapid-fire Q&A based on common client questions. Question 1: 'Users complain they have to log in every time they return from lunch. How do we fix this?' Answer: Increase your idle timeout. If lunch is an hour, an idle timeout of 30 minutes will drop them. Push it to 90 minutes. Question 2: 'We are running out of IP addresses every afternoon, but our venue isn't full. Why?' Answer: Ghost sessions. Your idle timeout is either disabled or set way too long, meaning devices that left hours ago are still holding IP leases. Drop your idle timeout to 30 minutes and shorten your DHCP lease time. Question 3: 'How does Opportunistic Wireless Encryption, or OWE, impact timeouts?' Answer: OWE provides individualized encryption for open networks without a password. It doesn't directly change how timeouts function, but it significantly improves your security posture during the session, making longer absolute timeouts slightly less risky from a passive sniffing perspective. [Transition sound] Host: To summarise: Session timeouts are the balancing point between user experience and network security. Use your idle timeout to manage device behaviour and network resources. Use your absolute timeout to manage human behaviour and compliance. Tailor these settings to your specific industry - hospitality needs long timers, retail needs medium timers, and high-density transport needs aggressive timers. Align your DHCP leases, account for MAC randomisation, and let your analytics guide your configuration. Get this right, and you'll reduce helpdesk tickets, secure your network, and provide the seamless connectivity your guests expect. Thanks for joining this Purple Technical Briefing. Until next time, keep your networks secure and your guests connected. [Outro Music - Fades out]

Part of our core series: Guest WiFi Guide →

Session policy calculator

Guest WiFi session timeout and DHCP lease calculator

Set session, idle and lease timers from how long visitors actually stay, check your DHCP scope will cope at peak, and copy the settings for your controller.

Venue type
1,200

Devices on the guest SSID at the busiest moment.

1 h

How long a typical visitor stays on site.

Hard session timeout
2 h
Guest sees the portal again after this
Idle timeout
15 min
Session ends after this long with no traffic
DHCP lease
1 h
Clients renew at half this
Returning device grace
7 days
Known devices skip the portal

The DHCP scope has enough headroom

51% used

About 2,100 leases held at peak against 4,094 usable addresses in a /20. Roughly 4,200 unique devices a day.

Why these timers

Shoppers stay 45 to 90 minutes. A 2 hour session cap stops car-park bandwidth squatting, and a 15 minute idle timer clears devices that have left.

Security notes

Enable client isolation on the guest SSID and keep the guest VLAN away from point-of-sale systems (PCI DSS scope).

Controller settings

Timers live in the policy profile attached to the guest WLAN. Values are in seconds.

! Guest WLAN with web authentication
wlan GUEST-WIFI 10 "Guest WiFi"
 no security wpa
 security web-auth
 security web-auth parameter-map PURPLE-WEBAUTH
 no shutdown
!
wireless profile policy GUEST-POLICY
 ! Hard session limit: 2 h
 session-timeout 7200
 ! Idle timeout: 15 min
 idle-timeout 900
 ! Block client-to-client traffic
 peer-blocking drop
 no shutdown
!
! DHCP scope for the guest VLAN (IOS-XE switch or router)
ip dhcp pool GUEST-VLAN-POOL
 network 10.100.0.0 255.255.240.0
 default-router 10.100.0.1
 dns-server 1.1.1.1 8.8.8.8
 ! lease <days> <hours> <minutes> = 1 h
 lease 0 1 0

Example addressing. Check syntax and value ranges against your software release before applying.

How this is calculated

  • Leases held at peak = peak devices x (1 + 0.75 x lease / dwell). Clients renew at half the lease (RFC 2131), so a device that leaves keeps its address for 75% of a lease on average.
  • The recommended scope keeps peak use at or below 85%.
  • The hard session limit is the venue default or 1.5x your dwell time, whichever is longer, capped at 24 hours.
  • Daily unique devices = peak devices x the venue's typical turnover (3.5x).

Manage session policy from one place

Purple returns session and idle timers over RADIUS, so the same guest policy applies on every controller at every site.

Useful? Link to this tool

Set guest WiFi idle timeouts at 30 to 60 minutes, and match the absolute timeout to dwell time: about two hours for a café, 24 hours or checkout for a hotel. Force re-authentication when the absolute timer expires, your terms change or a device misbehaves. Remember returning devices so guests rarely see the login page twice.

What is a guest WiFi session timeout?

A guest WiFi session timeout is a rule that ends an authorised session when a set condition is met. It is not one setting. Three timers work together, and each answers a different question about the device on your network.

All three appear in RFC 2865, the standard for RADIUS. RADIUS is the protocol your access points use to ask an authentication server whether a device may connect.

Idle timeout: is the device still here?

The idle timeout ends a session after a device has sent or received no traffic for a set period. Its job is housekeeping. It frees the IP address, controller memory and session slot held by a device that left without disconnecting. RFC 2865 calls it Idle-Timeout and defines it as the maximum number of consecutive idle seconds allowed.

Absolute timeout: how long may any session last?

The absolute timeout ends a session after a fixed total duration, whatever the device is doing. RFC 2865 calls it Session-Timeout. It caps session length, sets a point where updated terms can be presented, and forces a periodic security check. It is the timer guests notice most, because it can end an active video call.

Re-authentication: what happens when a session ends?

When either timer fires, the network decides whether the guest sees the captive portal again or gets back in silently. A captive portal is the web page a guest passes before the network grants internet access.

Silent re-entry usually relies on MAC authentication bypass (MAB). MAB admits a device because the network recognises its hardware address from an earlier login. RFC 2865 also defines a Termination-Action attribute. With the value RADIUS-Request, the access point sends a fresh authentication request when the session ends, rather than dropping the device.

Timer What it measures Where it is defined What it protects What the guest notices if set too short
Idle timeout Consecutive seconds with no traffic RFC 2865 Idle-Timeout, attribute 28 IP pool, controller capacity, accurate dwell data Logged out after the phone sleeps
Absolute timeout Total seconds since login RFC 2865 Session-Timeout, attribute 27 Session cap, terms acceptance, periodic re-check Cut off mid-call or mid-download
Re-authentication window Days a device is remembered after first login RFC 2865 Termination-Action, attribute 29, plus your remember-device policy Friction for returning visitors The captive portal on every visit

Why do guest WiFi timeout settings matter on your network?

Timeouts decide four things you care about: address capacity, data quality, security and the guest's first impression of your venue.

Address and controller capacity

Every connected device holds a DHCP lease, which is a temporary IP address assignment defined in RFC 2131. A device that leaves without disconnecting keeps its address until the lease or session expires. In a busy venue, these ghost sessions can fill the guest subnet and stop new arrivals from connecting at all.

Dwell-time data you can trust

If idle timers run long, devices appear present for hours after the visitor has gone. That inflates dwell time and visit counts in your WiFi Analytics. Marketing and operations teams then plan staffing and campaigns on numbers that overstate reality.

A remembered device stays authorised after the guest has left. MAC addresses travel unencrypted over the air, so someone who copies a remembered address can inherit that authorisation. Shorter remember windows and absolute timers limit how long that exposure lasts. Absolute timers also create a natural point to capture fresh consent when your terms change.

Guest experience

Repeat logins are the most common guest WiFi complaint at the front desk. Each unnecessary trip through the captive portal costs goodwill and staff time, and earns you nothing in return.

How do guest WiFi timeouts work in practice?

Where the timers are enforced

The access point or controller enforces the timers. The RADIUS server can send idle and absolute values per session inside its acceptance message. This lets you hold one policy centrally and apply it across sites and hardware.

Purple runs as a hardware-agnostic cloud overlay on Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme and Fortinet. Purple exposes session timeout controls, so you set timers alongside your captive portal and login settings without replacing hardware.

Where a controller also holds a local timer, check which value takes precedence. Purple's support documentation covers the steps for each vendor.

What happens when a timer expires

When a session ends, the device's traffic is redirected to the captive portal or re-authenticated silently. Phones detect captive portals by requesting a known test address and checking the reply. If the reply is redirected, the operating system opens a small login window.

Detection is not always reliable after mid-session expiry. Sometimes the guest just sees apps stop working. Two standards close that gap. RFC 8910 lets the network advertise its captive portal through DHCP. RFC 8908 defines a Captive Portal API that can report a "seconds-remaining" value to the device. Apple added support in iOS 14 and Google in Android 11, so the device knows a session is ending before it ends.

Ending a session on demand

You do not have to wait for a timer. RFC 5176 defines Disconnect-Message and Change of Authorization (CoA) messages. These let the RADIUS server end or change one device's session immediately, for example to remove a device that is abusing bandwidth.

Keeping DHCP leases in step

A common misconfiguration pairs a two-hour session with an eight-hour DHCP lease. Departed devices then hold addresses long after their session ended.

Keep the lease no longer than your absolute timeout, and in high-turnover venues keep it shorter still. Under RFC 2131, a device renews by default at half its lease time. A device that stays simply renews in the background, so a short lease costs a present guest nothing.

What is a reasonable guest WiFi session timeout for your venue?

Start from how long visitors actually stay, then adjust. The table below gives Purple's recommended starting points. Validate them against your own session lengths in WiFi Analytics. If your data shows most sessions end within 45 minutes, a 12-hour absolute timer adds exposure and buys nothing.

Venue Design dwell Idle timeout Absolute timeout Remember device for Force a visible re-login when
Café or quick service restaurant Under 1 hour 30 minutes 2 hours 30 days Terms change
Retail store 30 to 90 minutes 15 to 30 minutes 2 to 4 hours 7 to 14 days Remember window ends
Shopping centre 2 to 3 hours 30 minutes 4 hours 30 days Terms change
Hotel Length of stay 4 to 8 hours 24 hours or checkout Length of stay New stay begins
Hospital, patients and visitors Up to a full day 60 minutes 12 hours 7 days Remember window ends
Stadium or arena 3 to 5 hours 30 minutes 6 hours 90 days Each event day
Conference centre One event day 60 minutes 12 hours Length of event Each event day
Train, onboard Journey length 15 to 30 minutes Longest scheduled journey plus 1 hour 30 days Terms change
Airport 1 to 4 hours 15 minutes 4 hours 30 days Absolute timer expires

High-turnover sites such as Retail stores and airports use shorter idle timers because devices leave fast and the address pool refills quickly. Long-stay venues such as Hotels and Healthcare settings use longer timers because guests and patients put devices down for hours and expect to stay connected. On Trains, passengers leave at every stop, so a short idle timer reclaims capacity between stations.

Worked example 1: a shopping centre running out of addresses

The situation. A shopping centre runs one /22 guest subnet with 1,022 usable addresses. The DHCP lease is eight hours and the idle timeout is disabled. On Saturdays around 400 devices arrive each hour, and the typical visit lasts 45 minutes. By early afternoon, new shoppers connect to the network but receive no IP address.

The arithmetic. Each departed device can keep its address for up to the full lease. Worst case, the pool must hold 400 × (0.75 + 8) hours, or 3,500 addresses. At 400 new devices an hour, 1,022 addresses run out about two and a half hours after opening.

The fix. Set a 30-minute idle timeout, a one-hour DHCP lease and a four-hour absolute timeout.

The outcome. Worst-case demand falls to 400 × (0.75 + 1) hours, or 700 addresses. That leaves about 300 spare at the same peak, with no new hardware and no subnet redesign.

Worked example 2: a 200-room hotel with front-desk complaints

The situation. A 200-room hotel runs a four-hour absolute timeout and does not remember devices. A typical guest carries a phone and a laptop and is awake for about 16 hours a day. Each device therefore hits the captive portal around four times a day. That is eight logins per guest per day, or 24 across a three-night stay. At 80% occupancy, the hotel generates about 1,280 login interruptions every day.

The fix. Set a 24-hour absolute timeout with silent re-authentication. Set a four-hour idle timeout, which suits an address pool sized for two to three devices per room. Remember each device for the length of the stay.

The outcome. Each guest sees the captive portal once per device, so two logins per stay instead of 24. The hotel still re-checks every session daily in the background, so it keeps the security benefit without the friction.

Got questions about your specific setup?

Our team works with venue operators, IT managers, and network engineers across 80,000 venues. Book a 20-minute call and we will show you how others like you solved it.

Guaranteed response within 4 business hours - No commitment required

When should you force re-authentication?

Silent re-authentication should be your default. Force a visible login only when you need a new decision from the guest. These are the triggers that justify it.

  • The absolute timer expires on a short-dwell network. In an airport or a café, a fresh login after four hours confirms the visitor is still on site and still accepts your terms.
  • Your terms or privacy notice change. GDPR Article 7(1) requires you to demonstrate that each person consented. A forced re-login after a change gives you a dated record against the new wording.
  • The remember window ends. A seven-day or 30-day window caps how long a remembered, and potentially copied, MAC address stays authorised.
  • A device misbehaves. Use an RFC 5176 Disconnect-Message to remove a device that is flooding the network, rather than shortening timers for everyone.
  • Paid or tiered access ends. When a day pass or premium tier expires, the next session needs a new decision.

Avoid forcing logins mid-stay just to prompt data capture again. Purple uses conscious-choice opt-ins: the guest decides once, clearly, what first-party data to share. Repeating the question every few hours erodes trust and adds nothing to consent quality.

What does the guest experience look like with sensible timeouts?

With well-chosen timers, most guests meet your captive portal once and then forget it exists.

A hotel guest logs in on arrival. Their phone sits idle by the pool all afternoon and stays connected under a four-hour idle timer. Overnight the 24-hour session renews silently. At checkout, the remember window closes, and the device is treated as new on the next stay.

A shopper logs in on a first visit. They return 10 days later inside a 14-day remember window, and the phone connects straight away. After the window closes, they see the captive portal once more, with your current terms.

A rail passenger logs in at the start of a journey. Where the device supports the Captive Portal API, it can show how much session time remains. The session outlasts the longest scheduled journey, so nobody is cut off between stations.

In each case, the timers stay invisible to the guest. They still reclaim addresses, refresh consent and limit how long an unattended authorisation survives.

Where do timeouts sit alongside what you already run?

Your existing hardware

Timeouts are a policy layer, not a hardware feature you need to buy. Purple's Guest WiFi sits on top of the access points you already run, from Cisco Meraki to Fortinet, with no rip and replace. Purple operates across 80,000+ live venues in 90 countries, with 99.999% uptime.

Encryption on open networks

Timeouts limit how long a session lasts; they do not encrypt it. Opportunistic Wireless Encryption (OWE), defined in RFC 8110 and certified by the WiFi Alliance as Enhanced Open, encrypts traffic between each device and the access point on a password-free network. It protects against passive eavesdropping but does not identify the guest. Use OWE and sensible timers together.

Identity-based access

IEEE 802.1X is the standard for authenticating a device with credentials before it gets network access. Passpoint, also known as Hotspot 2.0, uses 802.1X so devices join trusted networks automatically. OpenRoaming is a federation built on Passpoint that lets a guest reconnect across participating venues.

Because these methods recognise the guest by credential rather than MAC address, re-authentication survives address changes. Purple supports OpenRoaming.

PCI DSS

PCI DSS v4.0 requirement 8.2.8 demands re-authentication after 15 minutes of idle time. That rule applies to people with access to systems in scope for cardholder data, not to guest internet sessions. What PCI DSS does require is that guest WiFi cannot reach in-scope systems. Get segmentation right, then set guest timers for capacity and experience.

GDPR

Session logs are personal data where they link to a device or a person. GDPR Article 5(1)(e) requires you to keep them no longer than necessary. Set a retention period for session records that matches your timeout and analytics needs, and document it. Purple is ISO 27001 certified and GDPR compliant.

What are the limits you should know about?

MAC randomisation

Since iOS 14 and Android 10, phones use a randomised MAC address for each network by default. The address usually stays stable for the same network, so remember-device logins still work. But network resets and newer rotating options can issue a new address, which brings back the captive portal.

Do not ask guests to switch off this privacy feature on your splash page. Use account-based return logins or OpenRoaming to recognise them by identity instead.

Sleeping phones

Phones in standby can send little or no traffic for long stretches. Idle timers under 30 minutes often drop them, which feels to the guest like the WiFi forgot them.

Captive portal detection

Operating systems do not always reopen the login window after a session expires mid-use. Advertise your captive portal through RFC 8910, and avoid absolute timers that expire while most guests are active.

MAB is convenience, not security

A remembered MAC address can be copied. Keep remember windows proportionate to dwell, and use OWE or 802.1X where traffic sensitivity demands more.

Timers cannot fix an undersized network

If the guest subnet is too small for peak demand, timers only delay exhaustion. Size the pool for peak arrivals multiplied by dwell plus lease, as in the shopping centre example.

What should you do next?

  1. Pull session length and dwell data for each venue type from WiFi Analytics.
  2. Set idle and absolute timers from the starting-point table, adjusted to your real dwell times.
  3. Bring DHCP lease times into line, no longer than the absolute timeout and shorter in high-turnover venues.
  4. Choose a remember-device window for each venue.
  5. Write down your forced re-authentication triggers, including terms changes.
  6. Test expiry on a current iPhone and a current Android phone before rolling out.
  7. Review complaints, session data and pool utilisation after 30 days, then tune.

Frequently asked questions

What is a reasonable session timeout for guest WiFi?

For most venues, a 30 to 60 minute idle timeout and an absolute timeout matched to dwell time work well. That means about two hours for a café, four hours for a shopping centre and 24 hours or checkout for a hotel. High-turnover sites such as airports can drop idle timers to 15 minutes. Pair any setting with a remember-device window, then check real session lengths in your analytics and adjust.

Can Purple set session timeouts on the access points we already own?

Yes. Purple runs as a hardware-agnostic cloud overlay on Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme and Fortinet. Purple exposes session timeout controls, so you set idle and absolute timers alongside your captive portal and login settings without replacing hardware. Where a controller also holds its own timer, check which value takes precedence. Purple's support documentation covers each vendor.

Do longer guest WiFi timeouts put us out of PCI DSS compliance?

No, provided guest WiFi is segmented from your cardholder data environment. PCI DSS v4.0 requirement 8.2.8, the 15-minute idle re-authentication rule, applies to people with access to in-scope systems, not to guest internet sessions. PCI DSS does require that untrusted networks such as guest WiFi cannot reach in-scope systems. Get the segmentation right, then choose guest timers for experience and capacity.

How do iPhone and Android private addresses affect returning-guest logins?

They break MAC-based recognition whenever the address changes. Since iOS 14 and Android 10, phones use a randomised MAC address for each network by default. It usually stays stable for the same network, so remember-device logins still work. Network resets and newer rotating options issue a new address and bring back the captive portal. Account-based logins or OpenRoaming recognise the guest by identity instead of hardware address.

Should hotel guests have to log in again every day?

No. A daily forced login generates front-desk complaints and adds nothing for most hotels. Set a 24-hour absolute timeout with silent re-authentication, and remember each device for the length of the stay. Guests then see the captive portal once per device. Reserve visible re-authentication for a new stay, a change to your terms, or a device you need to remove from the network.

Yes, indirectly. GDPR Article 7(1) requires you to demonstrate that each guest consented, and the captive portal is where that consent is captured. Re-authenticating everyone after your terms or privacy notice change gives you a fresh, dated record against the new wording. Timeouts also shape how much session data you hold, which Article 5(1)(e) requires you to keep no longer than necessary.

Can staff and guest networks use different timeout policies?

Yes, and they should. Guest timers balance address capacity against convenience for short visits. Staff need all-day access tied to who they are, so Purple Staff WiFi uses Identity-Based Networks with Microsoft Entra ID, Okta or Google Workspace. Access follows joiners, movers and leavers rather than a timer. When someone leaves, Purple revokes their access through the identity provider instead of waiting for a session to expire.

Key Definitions

RADIUS

Remote Authentication Dial-In User Service, specified in RFC 2865. It is the protocol access points use to ask an authentication server whether a device may connect, and it defines the Session-Timeout, Idle-Timeout and Termination-Action attributes the server returns in its acceptance message.

Holding timers in RADIUS lets you set one timeout policy centrally and apply it across sites and hardware, rather than configuring each controller separately.

Idle-Timeout

RFC 2865 attribute 28. It sets the maximum number of consecutive idle seconds a session may run with no traffic before the access point ends it.

This timer frees IP addresses, controller memory and session slots held by devices that left without disconnecting. Set it below 30 minutes and sleeping phones drop off.

Session-Timeout

RFC 2865 attribute 27. It sets the maximum total number of seconds a session may last from login, whatever the device is doing.

This is the absolute timer guests notice most, because it can end an active call. It caps exposure and creates a point to present updated terms.

Termination-Action

RFC 2865 attribute 29. With the value RADIUS-Request, the access point sends a fresh authentication request when a session ends, rather than dropping the device.

It underpins silent re-authentication, so a hotel can re-check every session daily without sending guests back to the captive portal.

Captive portal

The web page a guest passes before the network grants internet access. RFC 8910 lets the network advertise the portal through DHCP, and RFC 8908 defines a Captive Portal API that can report a seconds-remaining value to the device.

The portal is where guest consent is captured. Advertising it through RFC 8910 reduces the cases where apps silently stop working after mid-session expiry.

MAC authentication bypass (MAB)

A method that admits a device because the network recognises its hardware address from an earlier login. MAC addresses travel unencrypted over the air, so a remembered address can be copied.

MAB drives remember-device logins for returning guests. Treat it as convenience, not security, and keep remember windows proportionate to dwell.

DHCP lease

A temporary IP address assignment defined in RFC 2131. By default a device renews at half its lease time, so a device that stays renews in the background.

An eight-hour lease paired with a two-hour session leaves departed devices holding addresses. Align the lease to the absolute timeout to prevent pool exhaustion.

Disconnect-Message and Change of Authorization (CoA)

Messages defined in RFC 5176 that let the RADIUS server end or change one device's session immediately, without waiting for a timer.

Use them to remove a device flooding the network, instead of shortening timers for every guest.

Opportunistic Wireless Encryption (OWE)

Defined in RFC 8110 and certified by the WiFi Alliance as Enhanced Open. It encrypts traffic between each device and the access point on a password-free network, protecting against passive eavesdropping without identifying the guest.

Timeouts limit how long a session lasts but do not encrypt it. Pair OWE with sensible timers on open guest networks.

IEEE 802.1X and Passpoint

IEEE 802.1X authenticates a device with credentials before it gets network access. Passpoint, also known as Hotspot 2.0, uses 802.1X so devices join trusted networks automatically, and OpenRoaming is a federation built on Passpoint.

Because these methods recognise the guest by credential, re-authentication survives MAC address changes. Purple supports OpenRoaming.

MAC randomisation

Since iOS 14 and Android 10, phones use a randomised MAC address for each network by default. The address usually stays stable per network, but resets and rotating options can issue a new one.

A new address breaks MAC-based recognition and brings back the captive portal. Use account-based return logins or OpenRoaming rather than asking guests to disable it.

GDPR Articles 7(1) and 5(1)(e)

Article 7(1) requires you to demonstrate that each person consented. Article 5(1)(e) requires personal data, including session logs linked to a device or person, to be kept no longer than necessary.

A forced re-login after a terms change gives you a dated consent record, and your session retention period should match your timeout and analytics needs.

Worked Examples

A shopping centre runs one /22 guest subnet with 1,022 usable addresses, an eight-hour DHCP lease and no idle timeout. On Saturdays around 400 devices arrive each hour, visits last about 45 minutes, and by early afternoon new shoppers connect but receive no IP address.

Each departed device could keep its address for the full lease, so worst-case demand was 400 × (0.75 + 8) hours, or 3,500 addresses. The pool ran out about two and a half hours after opening. The centre set a 30-minute idle timeout, a one-hour DHCP lease and a four-hour absolute timeout. Worst-case demand fell to 400 × (0.75 + 1) hours, or 700 addresses, leaving about 300 spare at the same peak. The fix needed no new hardware and no subnet redesign, because the timers and lease now release addresses soon after shoppers leave.

A 200-room hotel runs a four-hour absolute timeout and does not remember devices. Guests carry a phone and a laptop, are awake about 16 hours a day, and the front desk fields repeated login complaints.

Each device hit the captive portal around four times a day: eight logins per guest per day, or 24 across a three-night stay. At 80% occupancy that meant about 1,280 login interruptions a day. The hotel set a 24-hour absolute timeout with silent re-authentication, a four-hour idle timeout suited to a pool sized for two to three devices per room, and a remember-device window for the length of the stay. Guests now see the captive portal once per device, two logins per stay instead of 24. Every session is still re-checked daily in the background, so the security benefit stays without the friction.

Practice Questions

Q1. A hospital IT director wants to ensure that visitors in the waiting room don't have to log in multiple times, but also needs to ensure that devices belonging to discharged patients are removed from the network promptly to free up IPs. The average wait time is 3 hours, and the average patient stay is 2 days.

Hint: Differentiate between the transient waiting room users and the long-term admitted patients. Can you apply one policy to both?

View model answer

The hospital should deploy two separate Guest SSIDs or utilise role-based access control via the captive portal. For the 'Visitor' tier, set an absolute timeout of 4 hours and an idle timeout of 30 minutes. For the 'Patient' tier (perhaps authenticated via an admission code), set an absolute timeout of 48 hours and an idle timeout of 8 hours. This balances the high turnover of the waiting room with the UX needs of admitted patients.

Q2. Your retail client complains that their returning customer analytics are dropping significantly, even though footfall remains steady. They currently have a 30-day MAB re-authentication policy.

Hint: Think about recent changes in mobile operating system privacy features.

View model answer

The drop in analytics is likely due to MAC randomisation (Private WiFi Addresses) in iOS and Android. Because devices rotate their MAC addresses, the 30-day MAB policy fails to recognise returning devices, treating them as new visitors. The solution is to update the captive portal splash page to instruct users to disable Private Addresses for the store's network to receive loyalty benefits, or shift analytics reliance towards application-level tracking rather than purely Layer 2 MAC data.

Q3. A conference centre hosts events ranging from 1-day seminars to 5-day conventions. The network team currently uses a static 24-hour absolute timeout for all events, leading to complaints during multi-day conventions.

Hint: How can the timeout policy become dynamic rather than static?

View model answer

The network team should integrate the WiFi authentication backend (RADIUS) with the venue's event management system, or utilise dynamic vouchers. Instead of a static 24-hour timeout, the captive portal should issue session lengths based on the specific event code entered by the attendee. A 1-day seminar code grants a 12-hour absolute timeout, while a 5-day convention code grants a 120-hour absolute timeout, eliminating mid-event disconnects.

Frequently asked questions

What is the difference between a session timeout and an idle timeout on guest WiFi?

A session timeout (hard timeout) defines the absolute maximum duration a visitor can remain connected to the guest WiFi network before they are disconnected and required to re-authenticate through the captive portal. An idle timeout (inactivity timer) disconnects a device only if it transmits no wireless data for a specified window (typically 10 to 30 minutes), immediately freeing up DHCP IP leases and controller state table memory from dormant devices.

What is the optimal session timeout for retail, hospitality, and healthcare guest WiFi?

Recommended session timeouts vary based on visitor dwell time: Retail stores and shopping malls benefit from 1 to 2-hour session timeouts with 15-minute idle timeouts; cafes and quick-service restaurants work best with 60 to 90-minute session caps; hotels and resorts require 24-hour session timeouts with multi-day MAC re-authentication bypass; and healthcare clinics or hospitals operate best with 4 to 8-hour session windows.

How do short DHCP lease times prevent IP address exhaustion on guest WiFi?

Guest WiFi networks in high-turnover venues experience transient footfall where hundreds of devices connect momentarily and leave. If the DHCP lease is configured to 24 hours, departed devices hold IP reservations for an entire day, leading to rapid DHCP scope exhaustion. Aligning the DHCP lease time to the average venue dwell time (30 to 60 minutes) allows expired IP addresses to recycle immediately back into the available pool.

What is MAC re-authentication bypass (grace period) and how does it improve guest experience?

MAC re-authentication bypass caches the device's authenticated MAC address on the RADIUS or captive portal controller for a configurable grace period (such as 7 to 30 days). When a returning customer reconnects within that window, the controller verifies their prior registration and transparently grants internet access without forcing them through the splash page again.

How does Purple automate dynamic session policies across enterprise wireless hardware?

Purple provides a centralized, hardware-agnostic cloud guest WiFi management platform that integrates directly with Cisco Catalyst, Meraki, HPE Aruba, CommScope Ruckus, Ubiquiti UniFi, and Fortinet wireless controllers. Purple dynamically applies bandwidth tiers, custom session durations, idle timeouts, and automated CRM data capture without requiring manual controller reconfigurations.

Got questions about your specific setup?

Our team works with venue operators, IT managers, and network engineers across 80,000 venues. Book a 20-minute call and we will show you how others like you solved it.

Guaranteed response within 4 business hours - No commitment required