skip to Main Content

Making post request after authentication expired – Jquery

I'm writing a web application using C#, ASP.NET, jQuery and using forms authentication: <authentication mode="Forms"> <forms loginUrl="Account/Login.aspx" defaultUrl="Default.aspx" name=".ASPXFORMSAUTH" timeout="30" /> </authentication> <authorization> <deny users="?" /> </authorization> The application is a command & control that designed to be open for…

VIEW QUESTION

Execute Javascript after 2 seconds – Jquery

I am trying to use setInterval or setTimeout but the primary element getting removed. Code without Javascript delay : Working fine const selectAllWithAttributeAdStatus = document.querySelectorAll("[data-ad-status]"); selectAllWithAttributeAdStatus.forEach(ad => { if ((ad.getAttribute("data-ad-status")) === "unfilled") { document.write("<h1>Unfilled</h1>"); } else { document.write("<h1>Filled</h1>"); }; })…

VIEW QUESTION
Back To Top
Search