svn commit: r685962 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/VisitHandler.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r685962 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/VisitHandler.java

doogie-3
Author: doogie
Date: Thu Aug 14 10:12:01 2008
New Revision: 685962

URL: http://svn.apache.org/viewvc?rev=685962&view=rev
Log:
User agent and referer were star-crossed lovers.  Now they have gone
out on their own.

Modified:
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/VisitHandler.java

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/VisitHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/VisitHandler.java?rev=685962&r1=685961&r2=685962&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/VisitHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/VisitHandler.java Thu Aug 14 10:12:01 2008
@@ -121,8 +121,8 @@
                             String webappName = (String) session.getAttribute("_WEBAPP_NAME_");
                             Locale initialLocaleObj = (Locale) session.getAttribute("_CLIENT_LOCALE_");
                             String initialRequest = (String) session.getAttribute("_CLIENT_REQUEST_");
-                            String initialReferrer = (String) session.getAttribute("_CLIENT_USER_AGENT_");
-                            String initialUserAgent = (String) session.getAttribute("_CLIENT_REFERER_");
+                            String initialReferer = (String) session.getAttribute("_CLIENT_REFERER_");
+                            String initialUserAgent = (String) session.getAttribute("_CLIENT_USER_AGENT_");
 
                             String initialLocale = initialLocaleObj != null ? initialLocaleObj.toString() : "";