Hi guys,
i have a case where when the user closes the browser window i have to set an Application Object to null...and for this i will use the JavaScript onbeforeUnload to do the server side work...
so i wanted to know which is better XMLHTTP or an ajax PageMethod...which is faster..??
i have used both and found that pagemethods require less coding...also i dont have to create another aspx page to do the server side work...
can anyone explain the difference between the two and performance wise which would be better???
thanks a lot