First of all, the message is hard-coded in English, but shouldn't be. Please see 'js/messages.php'.
But more importantly, I believe that the patch will only fix the issue in makegrid, but there are many other areas in PMA that will keep suffering from the very same issue. Perhaps it's better to handle this on the server side, by checking if the incoming request has a parameter called "ajax_request" and returning a JSON response that tells the user that the session is expired if that's the case. E.g.:
{"error":"true","message":"Your session has expired, please login again..."}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are a few issues with the patch.
First of all, the message is hard-coded in English, but shouldn't be. Please see 'js/messages.php'.
But more importantly, I believe that the patch will only fix the issue in makegrid, but there are many other areas in PMA that will keep suffering from the very same issue. Perhaps it's better to handle this on the server side, by checking if the incoming request has a parameter called "ajax_request" and returning a JSON response that tells the user that the session is expired if that's the case. E.g.:
{"error":"true","message":"Your session has expired, please login again..."}