git.ithinksw.org
/
extjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git]
/
examples
/
state
/
get-state.php
1
<?php
\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