Re: Session IDs and robots

2004-10-26 Thread Christoph Kutzinski
Hi, I would subclass LinkTag resp. RewriteTag and let them not append the session id if the agent-name is somethink like GoogleBot or so. I already thought about doing something like this to not create session-id for links to css, jsp, gif files, but I didn't have the time until now. HTH Chris

Re: Session IDs and robots

2004-10-26 Thread Emmanouil Batsis
Although others may come up with better answers, on the top of my head the quickest and maybe clean enough way to deal with this is a servlet filter that intercepts all requests, looks for the googlebot useragent and invalidates the HTTP session before passing the request to the chain. Or somet

Re: Session IDs and robots

2004-10-26 Thread Niall Pemberton
Theres nothing in Struts that can currently help you. You could extend the LinkTag and override the calculateURL() method to include your logic to either include or omit the jsessionid Niall - Original Message - From: "Sergiusz Jarczyk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: