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 c8aee396f4c5..0a81808feeb0 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 e8ebc07776a0..c3651897c3cb 100644
--- a/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php
+++ b/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php
@@ -74,7 +74,7 @@ public function getResponseHeaders()
public function getSessionAttributes()
{
- return new HeaderBag($this->data['session_attributes']);
+ return $this->data['session_attributes'];
}
public function getContentType()