Menu

#737 Fix Bugs:3509665 session expire

closed-rejected
nobody
None
5
2013-01-18
2012-03-27
surgesoft
No

edit a cell and press enter when session is expired will get a session expired warning

Discussion

  • Rouslan Placella

    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..."}

     
  • Rouslan Placella

    • status: open --> pending-rejected
     
  • Marc Delisle

    Marc Delisle - 2013-01-18
    • status: pending-rejected --> closed-rejected
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.