git.ithinksw.org
/
extjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
provide installation instructions
[extjs.git]
/
examples
/
state
/
get-state.php
1
<?
\r
2
session_start();
\r
3
if(!isset($_SESSION['state'])){
\r
4
$_SESSION['state'] = array(
\r
5
'sessionId'=>session_id()
\r
6
);
\r
7
}
\r
8
echo 'Ext.appState = ';
\r
9
echo json_encode($_SESSION['state']);
\r
10
echo ';';
\r
11
?>