diff --git a/debian/changelog b/debian/changelog index 2d1500ec..cc1e330d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.362-deb8) stable; urgency=low +hedera-web (1.363-deb8) stable; urgency=low * Initial Release. diff --git a/forms/ecomerce/invoices/invoices.js b/forms/ecomerce/invoices/invoices.js index ad61dbb4..bcb784c0 100644 --- a/forms/ecomerce/invoices/invoices.js +++ b/forms/ecomerce/invoices/invoices.js @@ -9,8 +9,9 @@ Hedera.Invoices = new Class return; var params = { - 'srv': 'rest:dms/invoice', - 'invoice': invoiceId + 'srv': 'rest:dms/invoice' + ,'invoice': invoiceId + ,'token': this.conn.token }; var url = '?'+ Vn.Url.makeUri (params); diff --git a/web/db-session-handler.php b/web/db-session-handler.php index 06669caf..8e421e33 100755 --- a/web/db-session-handler.php +++ b/web/db-session-handler.php @@ -11,31 +11,16 @@ class DbSessionHandler implements \SessionHandlerInterface $this->db = $db; } - function close () - { - return TRUE; - } - - function destroy ($sessionId) - { - $this->db->query ('DELETE FROM userSession WHERE ssid = #', [$sessionId]); - return TRUE; - } - - function gc ($maxLifeTime) - { - $this->db->query ('DELETE FROM userSession - WHERE lastUpdate < TIMESTAMPADD(SECOND, -#, NOW())', - [$maxLifeTime] - ); - return TRUE; - } - function open ($savePath, $name) { return TRUE; } + function close () + { + return TRUE; + } + function read ($sessionId) { $this->db->query ('DO GET_LOCK(#, 10)', [$sessionId]); @@ -55,5 +40,20 @@ class DbSessionHandler implements \SessionHandlerInterface $this->db->query ('DO RELEASE_LOCK(#)', [$sessionId]); return TRUE; } + + function destroy ($sessionId) + { + $this->db->query ('DELETE FROM userSession WHERE ssid = #', [$sessionId]); + return TRUE; + } + + function gc ($maxLifeTime) + { + $this->db->query ('DELETE FROM userSession + WHERE lastUpdate < TIMESTAMPADD(SECOND, -#, NOW())', + [$maxLifeTime] + ); + return TRUE; + } }