Skip to content

Stateless guests with on-demand sessions - #6721

Merged
dtdesign merged 19 commits into
6.3from
63-stateless-guest
Oct 1, 2026
Merged

dtdesign merged 19 commits into
6.3from
63-stateless-guest

Conversation

@dtdesign

Copy link
Copy Markdown
Member

This is a bit different to the original approach outlined in the issue because we went with a slightly different path that should work as a drop-in replacement for the current system. Sessions are deferred up until a point where they are actually required so that we can get away with omitting them until then.

Also, the behavior is currently an opt-in feature that is not enabled by default so that site owners can adjust it in case there are corner cases that we haven't covered.

The only drawback so far is that guests and search engines will vanish from the users online list which is actually a good thing. The list is notoriously unreliable because it is extremely inaccurate as soon as a bot sends no cookies. This means that 1 bot with cookies can send 100 requests but only counts as 1 visitor, but a cookie-less bot with 100 requests will show as 100 guests, although the caused the exact same amount of requests.

Closes #5928

@dtdesign
dtdesign marked this pull request as ready for review September 30, 2026 20:45
@dtdesign dtdesign moved this to Minor Task in WoltLab Suite 6.3 Sep 30, 2026
…accept same-origin requests from sessionless guests
@dtdesign
dtdesign force-pushed the 63-stateless-guest branch from a3a8515 to 33da0b0 Compare October 1, 2026 12:03
@dtdesign
dtdesign merged commit fc3511e into 6.3 Oct 1, 2026
9 checks passed
@dtdesign
dtdesign deleted the 63-stateless-guest branch October 1, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant