A downloadable tool

Download NowName your own price

This extension allows you to store data in browsers' local and session storage.
Local Storage : The data saved here stays here forever unless deleted by user or you.
Session Storage : The data saved here is deleted once the browser or the tab is closed. Useful for storing temporary data, if you wish.

DOCUMENTATION

web_localstorage_is_supported();
Description : Checks whether your browser supports these features.
Returns : true or false (bool)

web_localstorage_set_string(key, value);
web_localstorage_set_real(key, value);

Description : Sets a value in the local storage
Returns : N/A

web_localstorage_get_string(key);
web_localstorage_get_real(key);

Description : Returns a value from the local storage.
Returns : The value (string or real)

web_localstorage_remove(key);
Description : Removes a key from the local storage.
Returns : N/A

The following functions are the same as above, only for Session Storage

web_sessionstorage_set_string
web_sessionstorage_set_real
web_sessionstorage_get_string
web_sessionstorage_get_real
web_sessionstorage_remove

web_sessionstorage_clear();
Description : Manually clears all the data from the session storage.
Returns : N/A


Download

Download NowName your own price

Click download now to get access to the following files:

fritsbie.gamemaker.weblocalandsessionstorage.yymps 4 kB

Leave a comment

Log in with itch.io to leave a comment.