From c73b7fd9ec1d9e22ab7ef20b079c34eab39d03ed Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 10 Oct 2011 20:28:07 +0000 Subject: The session ID is an attribute of it, not a member of it --- project2/cgi/cgiAppEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project2/cgi/cgiAppEngine.cpp b/project2/cgi/cgiAppEngine.cpp index 1c52135..1cee535 100644 --- a/project2/cgi/cgiAppEngine.cpp +++ b/project2/cgi/cgiAppEngine.cpp @@ -144,7 +144,7 @@ CgiApplicationEngine::addAppData(const Presenter * p) const addCoreAppData(p); // Sessions variables p->pushSub("session", env()->xmlPrefix); - p->addField("id", cursession->ID.str()); + p->addAttr("id", cursession->ID.str()); Session::Values session(cursession->GetValuesCopy()); BOOST_FOREACH(Session::Values::value_type sv, session) { p->pushSub("var", env()->xmlPrefix); -- cgit v1.2.3