sessionStorage Demonstration

Demo by Xul.fr

This demo works on recent browsers that are compatible with DOM Storage (HTML 5). The JavaScript code works only online.

The state of the object and the text you have typed into another page:

	x = sessionStorage.saved;
	document.write(x);
	x = sessionStorage['saved'];
	document.write(x);


Return to the article

© 2008-2011 Xul.fr/en/