EasyUI Forum
September 17, 2025, 12:13:30 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Ajax session timeout handling  (Read 11633 times)
joe
Newbie
*
Posts: 33


View Profile Email
« on: April 24, 2013, 10:39:59 AM »

datagrid, form, combobox, etc. all can use ajax to post data to the server.  What is the the best practice when handling session timeout?  Is there specific event that I should be using? Or, a "blanket override" I can do to handle a returned session timeout json object?
« Last Edit: April 24, 2013, 10:46:07 AM by joe » Logged
mzeddd
Full Member
***
Posts: 223



View Profile
« Reply #1 on: April 25, 2013, 12:58:45 AM »

Not sure I'm answering your question but I had some issues with long responses from server.

In my case I was using TreeGrig and when I tried to expand all the items calling "expandAll" it showed me one subtree, then after a minute another and so on.

My problem disapeared when we reconfigured webserver by moving of session files directory from mouned one to local.
Logged
joe
Newbie
*
Posts: 33


View Profile Email
« Reply #2 on: April 25, 2013, 10:51:29 AM »

No, I am talking about managing session timeout during an ajax calls.  i.e. Session timed out during a form submit and onload.  Session timeout is such a generalized error that there should be a "global" error trapping for a jeasyui controls.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!