Hi I have added a web method [System.Web.Services.WebMethod(EnableSession = true)] public static void refreshApplicationSession() { //to refresh session } in my Default.aspx.cs file of DNN
and in the Default.aspx page I have added this
function refreshApplicationSession() { $.ajax({ type: "POST", url: "/Default.aspx/refreshApplicationSession", contentType: "application/json; charset=utf-8" }); }
but the method isn't getting called
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.