Hi, @ruast Thanks for posting your query in the Microsoft Q&A forum
I understand that you don't want to store an email id in a cookie and you want to retrieve a document by its _rid or _self.
If you’re trying to read a single document using _rid or _self you would have to use a query that is going to be more expensive with more latency than if you had just used primary key and id with ReadItemAsync().
There is no faster, cheaper, or easier way to retrieve a single item of data than by its primary key and id. _rid and _self are internal fields. you should not be taking a dependency on them anyway.
If you don’t want to store email in a cookie then store it in another property and use a GUID or some other unique string to store in a cookie.
Hi, @ruast Just checking in to see if you had the chance to check the above reply if the above suggestion was helpful. If it answers your query, please do click “Accept Answer” and/or Up-Vote, as it might be beneficial to other community members.