SessionStorage: Difference between revisions
Jump to navigation
Jump to search
Created page with "SESSIONSTORAGE(''string'' | ''variable'') '''Description''' SESSIONSTORAGE allows you to save string data so it is available while you run the program. An entry can be creat..." |
No edit summary |
||
Line 3: | Line 3: | ||
'''Description''' | '''Description''' | ||
SESSIONSTORAGE allows you to save string data so it is available while you run the program. An entry can be created by assigning to SESSIONSTORAGE.variableName, where variableName is chosen by you. Data is retrieved the same way. A program is allowed to store at least 5 megabytes of data in SESSIONSTORAGE. The data is wiped out when the program is exited. | SESSIONSTORAGE allows you to save string data so it is available while you run the program. An entry can be created by assigning to SESSIONSTORAGE.''variableName'', where ''variableName'' is chosen by you. Data is retrieved the same way. A program is allowed to store at least 5 megabytes of data in SESSIONSTORAGE. The data is wiped out when the program is exited. | ||
'''Example''' | '''Example''' |
Revision as of 23:40, 8 July 2012
SESSIONSTORAGE(string | variable)
Description
SESSIONSTORAGE allows you to save string data so it is available while you run the program. An entry can be created by assigning to SESSIONSTORAGE.variableName, where variableName is chosen by you. Data is retrieved the same way. A program is allowed to store at least 5 megabytes of data in SESSIONSTORAGE. The data is wiped out when the program is exited.
Example
REM SESSIONSTORAGE Save Example SessionStorage.data="This is Data." (run and exit program) REM SESSIONSTORAGE Retrieve Example Print SessionStorage.data
Output
undefined
Related Items