Page 1 of 1

Scope of Local storage variable

Posted: Wed Jan 02, 2013 11:17 am
by Renjith V

If I define a local storage variable in one screen, will the next page which is launched from this page have access to that variable? Or do I need to set in again?


Scope of Local storage variable

Posted: Wed Jan 02, 2013 11:23 am
by Maryna Brodina

Hello! localStorage variables shoul be available on each screen. You don't need to set it again.


Scope of Local storage variable

Posted: Wed Jan 02, 2013 11:32 am
by Renjith V

Thank you, let me try it, somehow it is not appearing while I am calling the REST service with that, so was doubting this. May be there is some other issue. Let me check.