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 one

Re: session across different domains ?

2003-01-12 Thread Tim Funk
Add something to your webapp which logs when it is loaded. If you see 2 log messages - then it is being loaded twice. One for each virtual host. -Tim Albrecht Berger wrote: I am at a loss. My last guesses: - Its a programming issue - Your tomcat has virtual hosting set up that tomcat treats

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: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

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

Re: session across different domains ?

2003-01-11 Thread Tim Funk
1 - Is the request going to the same tomcat server? 2 - Does the url look like this: http://www.foo.com/bar.jsp;jsessionid=ou812 -Tim Albrecht Berger wrote: 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

Re: session across different domains ?

2003-01-11 Thread Tim Funk
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 Tim Albrecht Berger wrote: 1 - Is the request going to the same tomcat server? yes, there is only one 2 - Does

Re: session across different domains ?

2003-01-11 Thread AAron nAAs
servlet container's encoding: org.apache.catalina.connector.HttpResponseBase.toEncoded() -AAron From: Tim Funk [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: session across different domains ? Date: Sat, 11 Jan 2003 13:15:48 -0500