View Full Version : Session timeout issue

18 Oct 2007, 7:01 AM
Here is the code that loads the tree nodes in my application. One problem I am having with this is that when the session expires the loader receives nothing from the server. As a result, the node is empty. Is there any way to redirect the users to logout page when session has expired.

tree = new Tree.TreePanel('tree-div', {
loader: new Tree.TreeLoader({dataUrl:'get-nodes.php'}),

Any help is appreciated.

18 Oct 2007, 8:22 AM
There are some other threads that discuss this - try searching for session+timeout.

18 Oct 2007, 1:32 PM
You could try using a heartbeat to keep the session alive.