Hi All

I have a site that has cookies turned on :

            this.setStoresIDsInURLs(false);
            this.setStoresIDsInCookies(true);

And I recently updated some of the static pages which link to the shopping side to have in social media like buttons etc..

These leave cookies for tracking and I had not noticed a problem until now...

There is an error in the logs which is something like this:

at com .webobjects .appserver ._private .WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:294) at com .webobjects .appserver.WOApplication.createContextForRequest(WOApplication.java: 1674) at com .webobjects .foundation._NSUtilities.instantiateObject(_NSUtilities.java:640) at java.lang.reflect.Constructor.newInstance(Constructor.java: 494) at sun .reflect .DelegatingConstructorAccessorImpl .newInstance(DelegatingConstructorAccessorImpl.java:27) at sun .reflect .NativeConstructorAccessorImpl .newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at com.webobjects.appserver.WOContext.<init>(WOContext.java: 114) at com.webobjects.appserver.WOContext._setRequest(WOContext.java:536) at com .webobjects .appserver.WOContext._synchronizeForDistribution(WOContext.java:484) at com.webobjects.appserver.WORequest.sessionID(WORequest.java:1549) at com .webobjects .appserver.WORequest._getSessionIDFromValuesOrCookie(WORequest.java: 1577) at com .webobjects .appserver.WORequest._getSessionIDFromValuesOrCookie(WORequest.java: 1605) at com.webobjects.appserver.WORequest.cookieValueForKey(WORequest.java: 1060) at com.webobjects.appserver.WORequest.cookieValues(WORequest.java:1081) at com.webobjects.appserver.WORequest._cookieDictionary(WORequest.java: 1023) at com.webobjects.appserver._CookieParser.parse(_CookieParser.java:178) at com.webobjects.appserver._CookieParser._parse(_CookieParser.java:143) Caused by: java.lang.IllegalStateException: CookieParser: Expected a ";" or a "," instead of <VALUE IN THE STORED COOKIE FROM SOCIAL MEDIA>
        at java.lang.Thread.run(Thread.java:613)
at com .webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java: 254) at com .webobjects .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173) at com .webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java: 1306) at com .webobjects .appserver ._private .WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:145) at com .webobjects .appserver ._private .WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:304)

Any ideas how to handle or circumvent this without removing the social media code?

thanks in advance

Gino


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to