diff options
-rw-r--r-- | project2/cgiAppEngine.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/project2/cgiAppEngine.cpp b/project2/cgiAppEngine.cpp index f1c38d7..d3fbe80 100644 --- a/project2/cgiAppEngine.cpp +++ b/project2/cgiAppEngine.cpp @@ -121,14 +121,12 @@ CgiApplicationEngine::PresentStage::run() if (!appEngine->sessionID.is_nil()) { xmlpp::Element * sessionXml = responseRoot->add_child("session", "project2"); sessionXml->set_attribute("id", boost::lexical_cast<Glib::ustring>(appEngine->sessionID)); - syslog(LOG_DEBUG, "> var dump"); Session::Values session(sessionsContainer->GetSession(appEngine->sessionID)->GetValuesCopy()); - //BOOST_FOREACH(SessionShm::Values::value_type sv, session) { - //xmlpp::Element * param = sessionXml->add_child("var", "project2"); - //param->add_child_text(sv.second); - //param->set_attribute("name", sv.first); - //} - syslog(LOG_DEBUG, "< var dump"); + BOOST_FOREACH(SessionShm::Values::value_type sv, session) { + xmlpp::Element * param = sessionXml->add_child("var", "project2"); + param->add_child_text(sv.second); + param->set_attribute("name", sv.first); + } } // XSLT Style char * buf; |