Hi again,

i have a question on PHP Session Handling.

I have extended my Ext.Direct apllication (http://extjs.com/forum/showthread.php?t=69840) with a session handling on PHP backend side.

The initial PHP script setups the session:
PHP Code:
SessionControler :: init($initialParams
After that all the UI stuff is loaded.

Anytime later within the client a method is called that is provided via Ext.Direct. Then router.php (http://extjs.com/forum/showthread.php?t=68186) is called:
PHP Code:

if (false === SessionControler :: resume())
// Error handling

// this should alwasy be set but if its not, then execute api.php without outputting it
if(!isset($_SESSION['ext-direct-state'])) {

$api = new ExtDirect_API();

$router = new ExtDirect_Router($api);
Now my question: What should i do, if the session could not be resumed (e.g. idle time out)? In this case it's not allowed to deliver any results. The client needs to be informed that the session is no longer valid. How can i do this? I dont't want to break the comunication between the Ext.Direct PHP backend and the Ext client.

Thanks in advance,
Jean Marie