tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandros Kotsiras" <kotsi...@mediaondemand.com>
Subject RE: session tracking * encodeURL
Date Fri, 19 May 2000 20:58:11 GMT
Now i totally agree. It works on 8080 but not with Apache.
JServ did not have that problem.

-----Original Message-----
From: Ken Grigg [mailto:ken.grigg@amikanow.com]
Sent: Friday, May 19, 2000 4:18 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: session tracking * encodeURL


I was led to understand that encodeURL() and encodeRedirectURL() works only
via port 8080. /Ken.

-----Original Message-----
From: Alexandros Kotsiras [mailto:kotsiras@mediaondemand.com]
Sent: Friday, May 19, 2000 4:00 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: session tracking * encodeURL


Well what can i say...in my Tomcat on both Solaris and Winnt URLRewriting
does not work and the same problem was reported from many other users.
That's why i suggested manual URLRewriting ....

-----Original Message-----
From: James Cook [mailto:jimcook@iname.com]
Sent: Friday, May 19, 2000 2:18 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: session tracking * encodeURL


I'm not seeing the behavior that you describe. Not in Tomcat and not in the
spec.

1. encodeURL *does* append the session information.
2. request.getSession(true) will *not* create a new session if one already
exists.

jim

----- Original Message -----
From: Alexandros Kotsiras <kotsiras@mediaondemand.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, May 19, 2000 12:24 PM
Subject: RE: session tracking * encodeURL


> Yes i agree ...but this is exactly the problem/bug with Tomcat :
>
> the encodeURL() / encodeRedirectURL() methods DO NOT automatically append
> then sessionID to the request URL.
> In Servlet_2 request.getSession(true) will create a new session instead of
> retrieving the one that Servlet_1 was using.
> That's why you have to append it manually and then use the
> HttpSessionContext ...if you require session tracking with cookies
disabled.
>
> Anyway....
>
> -----Original Message-----
> From: James Cook [mailto:jimcook@iname.com]
> Sent: Friday, May 19, 2000 11:06 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: session tracking * encodeURL
>
>
> ----- Original Message -----
> From: James Cook <jimcook@iname.com>
> > String url = request.encodeURL("/servlet/servlet_2");
>
> sorry, that should be:
>
> String url = response.encodeURL("/servlet/servlet_2");
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>


--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org

--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message