diff options
author | randomdan <randomdan@localhost> | 2011-10-10 20:28:07 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-10-10 20:28:07 +0000 |
commit | c73b7fd9ec1d9e22ab7ef20b079c34eab39d03ed (patch) | |
tree | 03b622fa95c515bd27a541ee86d13277c9071113 | |
parent | Fix issue with not creating unique session IDs (diff) | |
download | project2-c73b7fd9ec1d9e22ab7ef20b079c34eab39d03ed.tar.bz2 project2-c73b7fd9ec1d9e22ab7ef20b079c34eab39d03ed.tar.xz project2-c73b7fd9ec1d9e22ab7ef20b079c34eab39d03ed.zip |
The session ID is an attribute of it, not a member of it
-rw-r--r-- | project2/cgi/cgiAppEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |