Check on session storage

New thread, because question is new: I asked earlier how to uniquely identify a Wix User (to store repeater scrolling state in DB, not in session, because this might have been turned off by user), wrongly assuming that user.id was only issued for a logged on user. Turns out that also visitors are issued an (extremely long) user.id . And it turns out that Wix tracks this in session storage. If this is turned off, state is (obviously) lost and every new page inside the repeater would receive a NEW user.id, thus scrolling would not work.
So the DB solution is no solution against turned off storage. So back to session storage (is a lot easier too). Now the question: is there any way I can check if user has turned off session storage and put a warning on screen?

Would Wix local storage solve your problem?

Hi Yisrael, thanks for reply, but to be honest I don´t see how. I simply want to make sure a user has not turned of cookies/local storage and if so, put up a message.
I could try to write something to ANY storage and then try to read it back, but I do not know if this would get me into timing problems when the write and the consecutive read are done async, and the read is performed and returned before the write. Any ideas?

Hi Giri…
Unfortunately there is no way to check it.
But, can you elaborate more for about what you’re trying to achieve?
Describe the use case, maybe we’ll have another idea for you.

Liran.