On Fri, 2007-11-23 at 23:15 +0100, H. Swaczinna wrote: > Hi everybody, > > I'm a little bit confused about session tracking without using > cookies. When cookies are turned of, either in browser or in container, > the sessionId must be encoded in the URL. I know Tomcat does this > for me automaticly. But what to do if the container does not do this > for me, like OC4J? Do I have to do the URL rewriting (encodeURL()) > myself in a servlet filter or something? Or can JSF (myFaces) do this > for me?
No, Myfaces will not help with this, and I doubt the Sun RI will either. Http session support is a servlet engine feature, and JSF implementations simply assume that it is working. I don't think it is actually possible to implement this yourself. AFAIK, the javax.servlet apis provide no way to set the http session object associated with the current request. That is assumed to be the responsibility of the container. Regards, Simon

