I used Apache httpd.conf to rewrite our URLs to exclude jsessionids, but this did not fix the problem with Facebook Like button. Now I am wondering if the problem is related to Wicket inserting ../../ in the middle of the URL when Tomcat redirects sessionless user to the URL with jsessionid as in the following: "The page at http://galecsy.com:88/lrm/ms/oid/../../ms/oid/74989.0;jsessionid=85C1FBAE4A7B21CA0FC7B8B10BB21EF1 could not be reached."
I reviewed several web sites on https://cwiki.apache.org/WICKET/websites-based-on-wicket.html but didn't find any that have a Like button that allows the user to like a Wicket-generated page. Can anybody send me a link to a page with a Like button pointing to a Wicket-generated page? I'd really like to see what's the difference between that and what we are doing. Thanks! On Thu, Jul 5, 2012 at 9:58 PM, Dale Ogilvie <dale_ogil...@trimble.com> wrote: > Alec, If you are running in Tomcat 7 you can add this to your web.xml to > turn off tomcat JSESSIONID in urls. Tomcat puts a jsessionid on all urls > until it receives a session cookie from the client, to cope with > cookieless clients. > > <session-config> > <tracking-mode>COOKIE</tracking-mode> > </session-config> > > This is part of the servlet 3.0 spec. > > <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" > version="3.0"> > > > -----Original Message----- > From: Alec Swan [mailto:alecs...@gmail.com] > Sent: Friday, 6 July 2012 6:47 a.m. > To: users@wicket.apache.org > Subject: Re: Anybody is having problems with Wicket and Facebook Like > button? > > Sorry for pushing this again, but this is a huge issue for us. Is > anybody having problems with Facebook Like button? > > On Tue, Jul 3, 2012 at 3:34 PM, Alec Swan <alecs...@gmail.com> wrote: >> Hello, >> >> We started receiving complaints from users saying that Facebook Like >> buttons don't work on our web site anymore. I don't know what happened > >> on the Facebook side but now we are seeing the following errors when >> user clicks Like button, e.g. on >> http://galecsy.com:88/lrm/ms/oid/74989: >> >> The page at >> http://galecsy.com:88/lrm/ms/oid/../../ms/oid/74989.0;jsessionid=85C1F >> BAE4A7B21CA0FC7B8B10BB21EF1 >> could not be reached. >> >> I read "SEO - Search Engine Optimization" and overwrote newWebResponse > >> to remove JSESSIONID, however it looks like JSESSIONID is still being >> added somewhere, probably Tomcat. >> >> I know this is not directly related to Wicket, but I am wondering how >> other Wicket users handled interaction with Facebook Like button. >> >> Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org