Update session handling in AJAX responses to improve user experience. Modify error messages to include session codes instead of generic messages, prompting a page reload for expired sessions. Increment version code to 4.72.794 to reflect these changes.

This commit is contained in:
2026-07-13 14:04:10 -04:00
parent d3b9fab7ce
commit 8efbb4c4a7
6 changed files with 51 additions and 4 deletions

View File

@ -42,7 +42,8 @@ if ($strLangue === '') {
if ($intComId <= 0) {
$GLOBALS['__inscr_gestion_done'] = true;
echo json_encode(array('state' => 'error', 'message' => 'session'));
// MSIN-4401 — code session : le client recharge pour afficher le login.
echo json_encode(array('state' => 'error', 'code' => 'session', 'message' => 'session'));
exit;
}