diff options
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/UI/TPage.php | 2 | ||||
-rw-r--r-- | framework/Web/UI/TPageStatePersister.php | 2 |
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;
|