summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2006-03-31 16:16:36 +0000
committerxue <>2006-03-31 16:16:36 +0000
commitcf5bdd1f8f3919f06ee3f8de9d71ff156fada0ab (patch)
treee7d120d76412643e6ff0c5719ecafb85751a7d5d /framework/Web
parente1aa60ec21bed10014d1ca9316910c36e8d43ee3 (diff)
Updated the script for generating pradolite.php.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/TPage.php2
-rw-r--r--framework/Web/UI/TPageStatePersister.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index e13f21c1..b68c4996 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -568,6 +568,7 @@ class TPage extends TTemplateControl
*/
protected function loadPageState()
{
+ Prado::trace("Loading state",'System.Web.UI.TPage');
$state=$this->getStatePersister()->load();
$this->loadStateRecursive($state,$this->getEnableViewState());
}
@@ -577,6 +578,7 @@ class TPage extends TTemplateControl
*/
protected function savePageState()
{
+ Prado::trace("Saving state",'System.Web.UI.TPage');
$state=&$this->saveStateRecursive($this->getEnableViewState());
$this->getStatePersister()->save($state);
}
diff --git a/framework/Web/UI/TPageStatePersister.php b/framework/Web/UI/TPageStatePersister.php
index b16d9f7d..3551b5f6 100644
--- a/framework/Web/UI/TPageStatePersister.php
+++ b/framework/Web/UI/TPageStatePersister.php
@@ -54,7 +54,6 @@ class TPageStatePersister extends TApplicationComponent implements IPageStatePer
*/
public function save($state)
{
- Prado::trace("Saving state",'System.Web.UI.TPageStatePersister');
if($this->_page->getEnableStateValidation())
$data=$this->getApplication()->getSecurityManager()->hashData(Prado::serialize($state));
else
@@ -73,7 +72,6 @@ class TPageStatePersister extends TApplicationComponent implements IPageStatePer
*/
public function load()
{
- Prado::trace("Loading state",'System.Web.UI.TPageStatePersister');
$str=base64_decode($this->getRequest()->itemAt(TPage::FIELD_PAGESTATE));
if($str==='')
return null;