148 questions from the last 365 days
-2
votes
0
answers
40
views
ASP.NET WebForms: How to fetch and display calendar events in a popup without 401 errors? [duplicate]
I am building a calendar with a reminder popup in ASP.NET WebForms. I want to fetch events from a SQL Server database and display them when a user clicks a date.
Currently, I tried using a Shared ...
-2
votes
1
answer
79
views
WooCommerce Hook is not firing and seem to be deprecated [duplicate]
I know it's 2025, and this problem seems to be all over the place, and I've been trying all the recommended solutions, but it seems it's mostly old code. But I don't really know; I'll try to sum it up ...
0
votes
1
answer
79
views
My Ajax web method call in C# keeps showing an error: "401 Unauthorized"
I'm trying to call a simple static WebMethod in my ASP.NET Webforms page using jQuery Ajax, but it doesn't seem to be working. I've tried enabling anonymous authentication and other fixes suggested ...
1
vote
1
answer
102
views
getting a 400 error with wordpress ajax call and I don't know why
I know this has been asked 1000 times already, but I'm not seeing anything wrong in my code and am still getting a 400 error (XHR).
Here is the code from my plugin:
require_once( plugin_dir_path( ...
0
votes
1
answer
98
views
Downloading file via ajax throws security error in browser in Preact web app
I'm trying to rewrite an old HTML and plain JS frontend project using Vite and Preact. I created the project as suggested in the Getting Started docs via:
npm init preact
The basics seem to work fine....
0
votes
2
answers
90
views
Correct Report not selecting date on Calendar change
I have an .aspx web form. When Ajax Calendar is changed, I'm not being able to capture date since there is no Selection_changed event firing. I tried to fire one, but that is also not working. Not ...
1
vote
1
answer
57
views
How to prevent RxJS to stop pipeline execution on the first exception
I'm trying to make 3 sequential GET requests using RxJS ajax operator. If one of the ajax requests throws an error(404 status code, for example), the rest won't execute. Is it possible pipeline to ...
1
vote
0
answers
141
views
Send array of objects to .NET controller action
I am trying to pass a javascript array of objects to a .NET controller action List<> parameter. Below is my C#
public bool ImportACE([FromBody] List<Element> elements)
{
foreach(...
0
votes
4
answers
73
views
How do I make a jQuery form fire success and failure code?
I am trying to use a javascript form to submit data to a server I control. The form works great and the data is submitted to the server, but I can't get the javascript success and fail subroutines to ...
0
votes
1
answer
55
views
Browser back button exits Single Page App despite pushState() on Chrome only
I’m working on a legacy single-page application that uses AJAX to load different internal views. After recent browser updates the Browser Back Button stopped behaving as expected.
The current problem:
...
0
votes
1
answer
80
views
How to dynamically switch products in a Dawn theme collection section on tab click?
I have a Featured Collection section in the Dawn theme. I want to add tabs like “Boy Shirt”, “Boy Pants” and dynamically load products when clicking a tab without refreshing the page. I tried using ...
0
votes
0
answers
57
views
Custom Wordpress login modal with AJAX - logging in works but then any attempt to access /wp-admin causes a redirect to 'SITE_URL/home'
I have created a custom login modal for my wordpress site. In seems to be working on the surface, as in it logs in correctly, the admin bar appears at the top on page refresh and I'm able to access ...
0
votes
0
answers
62
views
Laravel session lifetime on recursive ajax
I'm using laravel 8 with SESSION_DRIVER=file
I have code that run like below, and I have a problem why the recursive not extending the expired time of session?
Each process take 30sec, but after ...
0
votes
0
answers
33
views
Rewritten URLs seems to conflict with preload animation. ISAPI rewrite or window.onload problem?
I am getting crazy about this issue that I can not figure out. I have these two URLs, the first one is a dirty one the second is a Helicon ISAPI 3 rewritten, nice URL.
http://nova.exclusive-immo.hu/...
0
votes
0
answers
133
views
How to prevent exposing real data in AJAX response (SSR vs CSR) and instead return opaque tokens?
I’m comparing two ways of rendering HTML structures with data from PHP + MySQL.
Option 1: SSR (Server-Side Rendering)
PHP builds the HTML and returns it directly:
PHP:
else if(isset($_POST["...