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 | |
---|---|
File size: 211 bytes |
Line | |
---|---|
1 | <? |
2 | session_start(); |
3 | if(!isset($_SESSION['state'])){ |
4 | $_SESSION['state'] = array( |
5 | 'sessionId'=>session_id() |
6 | ); |
7 | } |
8 | echo 'Ext.appState = '; |
9 | echo json_encode($_SESSION['state']); |
10 | echo ';'; |
11 | ?> |
Note: See TracBrowser
for help on using the repository browser.