The global storage is a non-standard feature and has been obsolete since Gecko 13.0. Hence implementing this might not work in all browsers. In feature, it is similar to the local storage and maintains storage area for data over long period of time and over multiple pages and sessions. Using the local storage is preferred over global storage in production sites.

 

›› go to examples ››