First you have to open the session for modify or remove session variables.
To change a variable, just overwrite it.
To remove a single variable in the session.
To remove all the variables in the session. (without destroying the session)
To destroy the session.
<meta equiv=”refresh” content=”0;URL=enable_js.html”>
<h2 id=”nojs” style=”font-family: Verdana,Arial,Helvetica,sans-serif; color: rgb(204, 0, 0);”>
window.location = “index.html”;