What is the lifespan of continuation tokens in DocumentDb
Asked Answered
W

1

17

I can't find anywhere in the documentation that indicates how long request continuation tokens last for DocumentDb paging support. I therefore suspect it is intentionally undefined.

In the real world, how long can I expect a token to last for? I ask this so that my app can present an error to the user when they are browsing through results that they have been started again, because the continuation token isn't valid.

Wilmoth answered 16/2, 2017 at 3:43 Comment(0)
Y
21

Continuation tokens in DocumentDB never expire. They encode all the state required to resume query execution.

Yuen answered 17/2, 2017 at 20:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.