Pergunta de entrevista da empresa Decos

Routing. If there is variable which was initialize on first view and after we click on next view that is second page. So can that variable hold the value or loss it after refreshing page?