How to make session storage in retool


I am trying to make session storage in this using JAVASCRIPT, but it gives me error. Can you help me out?

Hi @ishi8! Retool doesn't have access to Window functions unfortunately, but would localStorage work for you?

https://docs.retool.com/docs/scripting-retool#localstoragesetvaluekey-value