diff options
author | deva <deva> | 2011-01-28 08:50:42 +0000 |
---|---|---|
committer | deva <deva> | 2011-01-28 08:50:42 +0000 |
commit | 775d9c9c11f3906766c0dc7070eb7ef01606ef96 (patch) | |
tree | 7b957553d2778a4350d73f460997186e2484f5ca /server/src/server.cc | |
parent | 7917d099f34acda6c4c90bca28710a7bd67800e9 (diff) |
New cross client system.
Diffstat (limited to 'server/src/server.cc')
-rw-r--r-- | server/src/server.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/src/server.cc b/server/src/server.cc index 3973756..6474fb5 100644 --- a/server/src/server.cc +++ b/server/src/server.cc @@ -54,13 +54,18 @@ public: headers_t &headers) { std::string sessionid; + std::string patientid; + std::string templ; if(headers.contains("SessionID")) sessionid = headers["SessionID"]; + if(headers.contains("SessionPatientID")) + patientid = headers["SessionPatientID"]; + if(headers.contains("SessionTemplate")) templ = headers["SessionTemplate"]; bool commit = headers.contains("SessionCommit"); bool nocommit = headers.contains("SessionNoCommit"); bool discard = headers.contains("SessionDiscard"); - Connection *connection = new Connection(env, sessionid, + Connection *connection = new Connection(env, sessionid, patientid, templ, commit, discard, nocommit); return connection; |