How enduring is the uniqueness of a session ID?

Anvil session IDs are quite long (e.g. “IGVBM2IRECWTIHK54JOB6YJOIR6B3OYT”) which encourages me to think an ID is allocated once and not allocated to another session anytime “soon”.

Can someone firm up the notion of “soon” here (if my supposition is even vaguely correct)?

Those IDs aren’t mathematically guaranteed to be unique, so in theory the same ID could be generated again a few seconds later.

But the probability math behind large random identifiers makes a collision astronomically unlikely. So while uniqueness isn’t guaranteed in the strict mathematical sense, in practice you can safely rely on them being unique forever.

That is good enough for my purpose. The worst that could happen is I get an error in my uplink server. I just want know those errors will be infrequent enough that I can tolerate the cost of recovery.

Many thanks.