Sharing sessions through different domains (in one tomcat)

2005-07-15 Thread Albrecht Berger
Hello, I'm developing a webapp that is reachable via a couple of domains, but there is only one webapp in one tomcat. I need to share the session of a user over these different domains. What is the best way to guarantee that no session is lost, when the user switches between two domains ? Do I

multiple patterns in ExtendedAccessLogValve

2004-02-19 Thread Albrecht Berger
Hello, is it possible to define multiple patterns in ExtendedAccessLogValve or JDBCAccessLogValve, e.g. for for use pattern1 when url is matching url1,... For example : url index.jsp?p1=v1&p2=v2 The params p1 and p2 should be logged. url show.jsp?p5=v5&p6=v6 The params p5 and p6 should be logged.

changing content of response through filter ?

2004-02-01 Thread Albrecht Berger
Hello, is it possible to change the generated jsp/servlet content of a response ? Do I need a filter, or something else ? Thx berger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: own Impl of HttpServletResponse ?

2004-01-31 Thread Albrecht Berger
Tim Funk wrote: Sort of. Thats what HttpServletResponseWrapper and javax.servlet.Filter are for. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletResponseWrapper.html http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Filter.html Thx, I will take a look at t

own Impl of HttpServletResponse ?

2004-01-31 Thread Albrecht Berger
Hello, is it possible to replace the tomcat implementation of HttpServletResponse with my own ? Thx berger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

two context paths mapping the same webapp instance?

2003-01-13 Thread Albrecht Berger
Hello, I have the following host entry in my server.xml : 192.x.x.x What I do want is to map the following urls to one webapp instance : http://localhost:8080/action.jsp;jsessionid=2jjiejdisjfidjseir http://localhost:8080/myapp/action.jsp;jsessionid

Re: session across different domains ?

2003-01-12 Thread Albrecht Berger
> I am at a loss. My last guesses: > - Its a programming issue > - Your tomcat has virtual hosting set up that tomcat treats > localhost/webapp and 192.x.x.x/webapp as different webapps thanks, I forgot this point. I have defined a virtual host for localhost to directly map the webapp, but no on

Re: session across different domains ?

2003-01-11 Thread Albrecht Berger
> When you link to the new domain, URL encode the session id into the > link. I think either the servlet spec or tomcat docs should tell you you > can do this. Hello, I thought that this would work, too. But although I encoded the session id to the new url, the session I got is empty in the new

session across different domains ?

2003-01-11 Thread Albrecht Berger
Hello, is there any way to keep the sessions when changing the domain ? I have only one webapp, but it is distributed acrosss different domains. Thx berger -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: how to disable cookies in tomcat ?

2002-12-16 Thread Albrecht Berger
> Cookies are disabled in your browser, not in Tomcat :-) Look under > preferences or options menu (based on your browser) That is one of the few things I'm able to :) There is the capability to do this in tomcat, too. I do want the tomcat to prevent creating session cookies. Thx berger --

how to disable cookies in tomcat ?

2002-12-16 Thread Albrecht Berger
Hello, I read that it is possible to disable cookies. Could someone provide a server.xml or web.xml where cookies are disabled ? The information I get out of the tomcat-docs didn't worked. Thx berger -- To unsubscribe, e-mail: For additional commands, e-mail: