You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Aladin Alaily <st...@aladin.ca> on 2006/08/16 16:13:19 UTC
Struts and Jsessionid control
Hello,
My understanding is that when the users turn off cookies, struts
automatically encodes the session id and saves it in the URL, using
encodeURL.
Now, I'd like to know if there is a way to prevent this (encoding the
session) so that when the users disable cookies sessions simply don't
work.
Thanks.
Aladin
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts and Jsessionid control
Posted by Wendy Smoak <ws...@gmail.com>.
On 8/16/06, Aladin Alaily <st...@aladin.ca> wrote:
> My understanding is that when the users turn off cookies, struts
> automatically encodes the session id and saves it in the URL, using
> encodeURL.
>
> Now, I'd like to know if there is a way to prevent this (encoding the
> session) so that when the users disable cookies sessions simply don't
> work.
Sessions are handled by the servlet container, and IIRC, the
specification requires the container to handle sessions without
cookies. Check your container's documentation, and refer to the
servlet spec for the version you're using.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org