tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject AW: Re : Re: urlencoded session html-redirection-bug
Date Wed, 10 Apr 2002 08:29:03 GMT
Are there special reasons why you redirect in the html and not 
with response.sendRedirect ?

I don't think that there is an easy way to get the meta tag
working. (Something like writing a filter or using mod_rewrite 
to rewrites /myURL?jsessionid=og9obimzx2 and using a selfmade 
encodeUrl())

> -----Urspr√ľngliche Nachricht-----
> Von: Michael [mailto:tomcat@meinsenf.at]
> Gesendet: Mittwoch, 10. April 2002 09:55
> An: Giorgio Ponza
> Cc: tomcat-user@jakarta.apache.org
> Betreff: Re : Re: urlencoded session html-redirection-bug

<snip/> 
> <meta http-equiv="refresh" content="10; 
> URL=/myURL;jsessionid=og9obimzx2">
> is misunderstood by many browsers (NS 4.x, IE5.x, IE6 ...) 
> because of the second ";" before jsessionid!
> the "signature" of the html-redirect-"function" is (int 
> delayInSeconds;String redirectURL) separated by a ";"!
> The second ";" makes the browsers believe: here the URLString 
> ends - but this isn't correct! The browser is redirected to 
> the URL without encoded sessionid - and so looses its session!!!
<snip/> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message