Conn2Flow
All updates
Security

Version 2.10.13: the CSRF token renews itself

A form left open for a long time no longer fails on save. The system notices the expired token, fetches a new one and repeats the request without the user noticing.

Anyone who left a panel screen open and came back later could lose what they had typed: the session had changed, the CSRF token was no longer valid and saving returned a 403.

How it works

The server now answers an invalid token with a code of its own, CSRF_INVALID_OR_EXPIRED. The global JavaScript recognises that answer, asks _gestor-csrf-token for a new token and resends the same request. This covers the three paths the system uses: fetch, jQuery.ajax and XMLHttpRequest.

Not mistaken for missing permission

A 403 without that mark is not CSRF, and is not retried: an access denial stays a denial.

When the tab becomes visible again, the token is checked before the user clicks anything.

Source: Core · req-175 · BATCH-180 · release 2.10.13

The Future is Hybrid: Human + AI.

Conn2Flow is the tool. If you need the Architect to design your company's strategy using this technology...

Hire Specialized Consulting