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

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

lib/extjs-30:

  • new ExtJS 3.0
File size: 212 bytes
Line 
1<?php
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 ';';
Note: See TracBrowser for help on using the repository browser.