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
You Can Use Page Methods in javascript
PageMethods.EndSession();
[WebMethod()] public static void EndSession() { HttpContext.Current.Session.Abandon(); }
Dont Forget to set EnablePageMethods to true of Script Manager.
EnablePageMethods
true