Jump to content

SSPR - AJAX - Asynchronous Requests


Recommended Posts


We currently present the Password Reset portal externally through an f5 and have brute force protection on PIN Validation attempts, on failure we (the f5) TRY to* (edit) inject CAPTCHA into the responses.

But they don't work properly and are unusable.


Now please excuse my ignorance of coding or web page development (I have no idea what the meaning of this is or what the impact is to the Password Rest Portal site\function).

The f5 product development team have come back saying that their Single Page Architecture (SPA) features only supports Asynchronous AJAX requests.

Their Response:


The "Step 2:Verify" page triggers an AJAX request (/account/LoginTempPincode) when user submits a PIN Number after clicking the "Next" button. Following code also suggest request for "/account/LoginTempPincode" is AJAX synchronous request.



                url: "/account/LoginTempPincode",

                data: { Username: myUserID, PinNumber: myPinNumber, setPin: $('#mykey').val(), FirstName: $('#FirstName').val(), Surname: $('#Surname').val() },

                dataType: "json",

                type: "POST",

                async: false,    <<<<===================================== tweak this to true (i.e. asynchronous)

                success: function (data) {

                    if (data.Success) {


                        window.location.href = '/Account/Reset';



Tweaking "async: false" to "async: true" is expected to address this specific issue.

2020-01-20 09_56_16-Password Reset.jpg

Edited by GBS-IT
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...