Skip to content

Session Id didn't rotate after 23 hours #227

@ioannisj

Description

@ioannisj

Description

A user reported that a session recording lasted for around 24 hours. After taking a look at the recording, we do indeed capture a few snapshots at the very end of the recording (timestamps look correct), right before the session is rotated.

This is weird cause we clear the session_id on every capture here and rotate it after about 30 mins when the app is foregrounded here.

Also, session id/window id is managed only in memory, so it's very unlikely that the OS suspended the app but didn't terminate it for 23 hours.

From: https://posthoghelp.zendesk.com/agent/tickets/19974

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions