Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the lifespan of continuation tokens in DocumentDb

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.

like image 440
Sam Avatar asked Feb 16 '17 03:02

Sam


1 Answers

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

like image 149
Aravind Krishna R. Avatar answered Oct 01 '22 22:10

Aravind Krishna R.