PDA

View Full Version : Session timeout issue



ssa962
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', {
animate:true,
loader: new Tree.TreeLoader({dataUrl:'get-nodes.php'}),
....


Any help is appreciated.

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

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