1.

What Is The Sessionstorage Object In Html5 ? How To Create And Access ?

Answer»

The sessionStorage object stores the data for one session. The data is deleted when the USER closes the browser window. LIKE below we can CREATE and ACCESS a sessionStorage here we created "name" as session:

<script type="text/javascript">
sessionStorage.name="PCDS";
document.write(sessionStorage.name);
</script>

The sessionStorage object stores the data for one session. The data is deleted when the user closes the browser window. like below we can create and access a sessionStorage here we created "name" as session:



Discussion

No Comment Found