HI,
I want to use URL rewriting for session tracking by default, that means,
even if the user has activated cookies in his/her browser, the url should be
encoded via response.encodeURL(). There is a module <SessionId
cookiesFirst="false" noCookies="true" /> to use in the server.xml. But I
don't know where to place it, because I want to deactivate cookies in only
one context. The others should use cookies by default. I tried the
following, but it didn't work for me:
<Context path="/onlinestore"
docBase="D:\Java\onlinestore\defaultroot"
crossContext="true"
workdir="D:\Java\onlinestore\defaultroot"
debug="0"
reloadable="true">
<SessionId cookiesFirst="false" noCookies="true" />
</Context>
In 4.0 there is an attribute for Context, cookies="false", but I HAVE TO
work with 3.3.1 final.
Is it possible to deactivate cookies in the web.xml file?
Any help appreciated.
Thanks
Christian
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>