PDA

View Full Version : Google and jboss-seam site


digdas
19-01-2009, 20:52
Hi,

I have a question: I created a website which is displaying pages from content from the database. This looks good in a browser, but when a google-bot comes by, I see google creating a lot of pages, with different jsessionid's.

I have been searching the internet how to avoid this, as the jsessionid is not of importance for the non-session related pages.

kjkoster
19-01-2009, 21:07
Dear Digdas,

I how can the Google bot create pages? Are you using GET requests to create pages?

Kees Jan

digdas
19-01-2009, 21:17
I do not know how the pages are created.
JBoss / Seam does use cookies to handle sessions. If cookies are not accepted, as google bot does, it will use jsessionid in the URL.
I am not that familiair with jboss to know how to handle the google bots.

See site http://digdas.dyndns.org
If you disable cookies in your browser, you will see jsessionid coming up...

Kees de Kooter
19-01-2009, 22:56
Hi Digdas,

With "create pages" I suppose you mean request pages?

Isn't it possible to disable the creation of new sessions in Seam?

I googled around a bit and saw mentions of "Seam Rewrite Filter" that strips off the jsessionid. Is suppose it does something similar as described here (http://www.digitalsanctuary.com/tech-blog/general/jboss-jsessionid-parameter-remove.html).

digdas
22-01-2009, 18:46
I have found an answer to the problem.

See the provided linkhttp://www.digitalsanctuary.com/tech-blog/general/jboss-jsessionid-parameter-remove.html