title: Is there is any appropriate solution to clear server side session on client side?
body: <p>Is there any appropriate method to clear a server side session on client side.
  I use java script to clear a session, but when ever a page is redirected then server side session value will clear, even when the click event in not fire here is a java script code which I call on ONCLICK of LI</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
       function Clear_() {
  
           '&lt;%=Session["UID"]=""%&gt;';// only this line executes when ever the page is redirected.
  
           alert('ok');
       }
    &lt;/script&gt;
  </code></pre>