we all know that we can set and get session using javascript like below:
session.setItem("name", "value");
session.getItem("name");
I need to know how to destroy particular and all session variable in javascript.
I used google but I'm unable to get exactly what I need. Please help me to find the solution. jQuery answers are also welcome (without plugin)
Thank you in advance
removeItem(keyName)developer.mozilla.org/en-US/docs/Web/API/Storage/removeItemsessionStorage.clear();