Hello. Working in Kentico 10.
I have a frontend application that sends an object to the backend using an AJAX call to a web service when a user clicks a button. However, it's required that users must log in before saving any data. I thought to check for authentication then redirect to the login page from the backend using Response.Redirect/URLHelper.Redirect, but I've learned that these methods are incompatible with web services due to the nature of the request.
You can verify this in AJAX back-end call.
If authenticated proceed else return false.
Please, sign in to be able to submit a new answer.