source: trunk/web/addons/job_monarch/lib/extjs/examples/state/get-state.php @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

  • added new AJAX dependancies: ExtJS, pChart, Lightbox2
File size: 211 bytes
Line 
1<?
2session_start();
3if(!isset($_SESSION['state'])){
4    $_SESSION['state'] = array(
5        'sessionId'=>session_id()
6    );
7}
8echo 'Ext.appState = ';
9echo json_encode($_SESSION['state']);
10echo ';';
11?>
Note: See TracBrowser for help on using the repository browser.