Redirection does not work while a guest session has timed out with the form still able to be submitted and returning emptyDescriptionWhen attempting to click a link on a form, the data on the page for certain widgets will appear missing, as the user session has in the meanwhile timed out. If a public form is opened for a longer time than defined in the system property glide.guest.session_timeout, after submitting the form the user does not receive any session expired message, but instead a success message with an empty body. In this case, the server script does not run at all, validations are not performed and the record is not created ("api/now/sp/rectangle/" is returning empty on the portal request with nothing logged).Steps to Reproduce 1. Make "Form" Widget Public2. Make the "Form" service portal page Public3. Create a custom table i.e. "test_table" and provide "Public" role in Read/ write and create ACL4. Set the system property "glide.guest.session_timeout" to 15. Open an anonymous window in the browser6. Enter the URL /sp?id=form&table=test_table&sys_id=-17. Wait for a couple of minutes8. Fill in all fields and Save9. In developer tools check if the HTTP request was sent with the following data:- Request URL: /api/now/sp/rectangle/9dbfcec347730200ba13a5554ee490eb?id=form&sys_id=-1&table=test_table- Request method: POST- Status Code: 201 Created- Response: {"result":{}}In the instance notice the record was not created in "teest_table". The form shows as submitted and the end-user would not know that it was not submitted.WorkaroundThis problem has been fixed. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to. If the issue occurs at login, the workaround is to modify the widget login as follows: - Replace }).then(handleLoginSuccess.bind(response)); With }).then(handleLoginSuccess.bind(response), handleLoginFailure.bind(response)); - Add the "handleLoginFailure" function function handleLoginFailure() { $window.location = this.data.redirect_url;}Related Problem: PRB1456689