set session from js code example
Example 1: how to get session value using javascript
sessionStorage.getItem("SessionName")
Example 2: how to use session using javascript
BY LOVE
sessionStorage.setItem("SessionName", "SessionValue");
sessionStorage.getItem("SessionName")
BY LOVE
sessionStorage.setItem("SessionName", "SessionValue");