diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_panel.php b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_panel.php
index c8aee396f4..0a81808fee 100644
--- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_panel.php
+++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_panel.php
@@ -36,4 +36,28 @@
Response Session Attributes
-render('WebProfilerBundle:Profiler:bag', array('bag' => $data->getSessionAttributes())) ?>
+
+
+ Key |
+ Value |
+
+
+ getSessionAttributes()->getRawValue() as $key => $value): ?>
+
+ |
+
+
+ Object
+
+ Resource
+
+ Array
+
+
+
+ |
+
+
+
+
+render('WebProfilerBundle:Profiler:bag', array('bag' => $data->getSessionAttributes())) ?>
diff --git a/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php b/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php
index e8ebc07776..c3651897c3 100644
--- a/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php
+++ b/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php
@@ -74,7 +74,7 @@ class RequestDataCollector extends DataCollector
public function getSessionAttributes()
{
- return new HeaderBag($this->data['session_attributes']);
+ return $this->data['session_attributes'];
}
public function getContentType()