# Session Expiry: qURL vs ngrok vs Cloudflare

> Does a session end when it should? Samples 30 seconds before and up to 60 seconds after a 600-second limit, and a fresh sign-in afterwards.

Source: https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/

---

1. [Home](https://layerv.ai/)
2. [Benchmarks](https://layerv.ai/benchmarks/)
3. [AI agent private-sharing benchmark](https://layerv.ai/benchmarks/ai-agent-private-sharing/)
4. Session expiry at a set time

Measure 4 of 4 · Session expiry · qURL™, ngrok, Cloudflare

# Does the session end on time?

With a 600-second limit set by the agent, ngrok (OIDC) ended the session on time in 2 of 2 trials. A qURL review-access session ends when its grant is revoked.

6 scored trials; 7 recorded of 30 planned Tested November 3, 2026 [JSON ↓](https://layerv.ai/data/benchmarks/ai-agent-private-sharing/results.json) [CSV ↓](https://layerv.ai/data/benchmarks/ai-agent-private-sharing/trials.csv)

Session samples around a 600-second limit

ngrok (OIDC) · fresh-1-ngrok-oidc \-30s · allowed +5s · denied +30s · denied +60s · denied

ngrok (OIDC) · fresh-2-ngrok-oidc \-30s · allowed +5s · denied +30s · denied +60s · denied

The line marks the 600\-second limit. Before it the session must work; after it, it must not.

## Why it matters

A session that outlives its limit keeps a door open after you meant to close it. Expiry also has to leave the person able to sign in again if they are still allowed.

## How we measure it

1. Where a tool documents a session limit, the agent is asked to set it to 600 seconds.
2. The checker samples the existing session 30 seconds before the deadline and 5, 30 and 60 seconds after it, rejecting late samples and clock drift. Enforcement within 60 seconds passes.
3. A fresh sign-in afterwards must work: this tests session expiry, not removal of the person’s access.
4. Stopping a process is not counted as expiry.

## Results

__Session expiry at a set time: results per tool__
| Measure                    | qURL                           | ngrok (OIDC) | Cloudflare Quick Tunnel        |
| -------------------------- | ------------------------------ | ------------ | ------------------------------ |
| Session ends at a set time | Ends when the grant is revoked | 2 of 2       | Not documented as configurable |

## qURL short session

Separate credential run: credential-v6-api-keys-only; model: nvidia/nemotron-3.5-super-vl:free. Local network only, one run per lane, the same operator model for every lane. Not measured: Repeated competitive comparison; Independent second-network access; Uninterrupted recipient continuity; Cloudflare service-token expiry. These checks do not measure the timed sampling protocol above.

__qURL device-allowlist session checks__
| Check                               | Verdict |
| ----------------------------------- | ------- |
| Bob gets a short session            | Pass    |
| Bob gets in before it expires       | Pass    |
| Bob is refused after it expires     | Pass    |
| Bob gets a new link after expiry    | Pass    |
| Bob gets in again with the new link | Pass    |

## More from this benchmark

[All results →](https://layerv.ai/benchmarks/ai-agent-private-sharing/) [Methodology →](https://layerv.ai/benchmarks/ai-agent-private-sharing/methodology/) [Removing one recipient without interrupting the others →](https://layerv.ai/benchmarks/ai-agent-private-sharing/recipient-removal/) [Time and agent effort to a working private share →](https://layerv.ai/benchmarks/ai-agent-private-sharing/time-to-access/) [Keeping uninvited visitors out →](https://layerv.ai/benchmarks/ai-agent-private-sharing/access-denial/) [All benchmark data →](https://layerv.ai/benchmarks/data/)

## Frequently Asked Questions

How does a qURL session end? 

In review access, the moment the publisher revokes the grant: the removed person’s open session is refused at once. With qURL’s device allowlist, the separate credential run recorded a denial after expiry and access with a new link; it did not measure expiry timing.

Is session expiry the same as removing someone’s access? 

No. When a session expires a person who is still allowed can sign in again; removal stops them for good. The benchmark tests the two separately and never counts one as the other.

## Cite this

LayerV (2026). AI agent private-sharing benchmark, batch automated-v5-1793683081573\. https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry. CC BY 4.0.

On this page

1. [Why it matters](https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/#why-it-matters)
2. [How we measure it](https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/#how-we-measure-it)
3. [Results](https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/#results)
4. [qURL short session](https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/#qurl-short-session)
5. [More from this benchmark](https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/#more-from-this-benchmark)
6. [Frequently Asked Questions](https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/#faq)
7. [Cite this](https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/#cite-this)

Key facts

Sample

6 scored trials; 7 recorded of 30 planned

Tested

November 3, 2026

Data

[JSON ↓](https://layerv.ai/data/benchmarks/ai-agent-private-sharing/results.json) [CSV ↓](https://layerv.ai/data/benchmarks/ai-agent-private-sharing/trials.csv)

Cite

[Copy the citation ↓](https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/#cite-this)



---

*This markdown version is auto-generated from [https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/](https://layerv.ai/benchmarks/ai-agent-private-sharing/session-expiry/) for AI agents. Curated agent resources: [llms.txt](https://layerv.ai/llms.txt). For the full interactive experience, visit the HTML version.*

Site search: POST https://4f981608-057a-48bb-b205-a289823b32e4.search.ai.cloudflare.com/search with JSON `{"messages":[{"role":"user","content":"YOUR QUERY"}]}`. Results include public content and source URLs.

