sachi vasishta

sachi vasishta

  • NA
  • 252
  • 0

how to abort a session in java script

Nov 2 2009 8:31 AM

Hi,
Is there any way to abort a session using javascript ?. I hava a link called Logout.... upon click on this I want to abort a session. Is it possible with the javascript ?.........
 
here is the code
<li><a href="" accesskey="l" onclick="killsession()">Lo<span class="akey">g</span>out</a></li>
 
and the javascript
<
script language="javascript" type="text/javascript">
function killsession() {

// is it possible to abort a session here ?
}

</script>
 

 
Thanks

Answers (3)