details: /erp/devel/pi/rev/05b8e6fe855d
changeset: 8738:05b8e6fe855d
user: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
date: Mon Oct 25 13:47:04 2010 +0200
summary: Fixed issue 15015. Don't save usage audit when there is no session
id.
diffstat:
src/org/openbravo/base/secureApp/HttpSecureAppServlet.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r d9851f0e28db -r 05b8e6fe855d
src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
--- a/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java Mon Oct
25 13:37:15 2010 +0200
+++ b/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java Mon Oct
25 13:47:04 2010 +0200
@@ -391,7 +391,8 @@
boolean usageAuditEnabled =
OBDal.getInstance().get(SystemInformation.class, "0")
.isUsageauditenabled();
if (SessionInfo.getProcessId() != null &&
SessionInfo.getProcessType() != null
- && usageAuditEnabled) {
+ && usageAuditEnabled && vars1.getSessionValue("#AD_Session_ID")
!= null
+ && !"".equals(vars1.getSessionValue("#AD_Session_ID"))) {
// Session Usage Audit
SessionUsageAudit usageAudit =
OBProvider.getInstance().get(SessionUsageAudit.class);
usageAudit.setJavaClassName(this.getClass().getName());
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits