SessionStorage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
== Related Items == | == Related Items == | ||
[[localstorage| | [[localstorage|LocalStorage]] | ||
[[Category:Language Reference]] | [[Category:Language Reference]] |
Revision as of 01:38, 24 August 2012
SessionStorage(string | variable)
Description
SessionStorge 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