As in question. Is it possible to set variable in asp.net page in localStorage and retrieve it on the other page? How to set localStorage variable in asp.net. Is it possible? After that I could read variable using: Answer I guess You can’t. The whole point of local storage is that it is local and You can manipulate it only