Yes, this is the default behaviour. If the user doesn't have cookies
enabled, orion will append the session key to the URL and you don't have to
rewrite your code to handle this, it's all done by the server.
-Ciaran
>
> Can someone explaing to me how orion knows what session is
current
> when the user does not have cookies enabled and the user is using a POST
> form. should I do urlEncode() for all action...or should I make a hidden
> variable?
> In my test, however, I noticed that orion just added the session
> ID to the action tag automatically......wow....is this normal behavior? I
> never edited any of the default parameters regarding sessions except for
> session-timeout.
>
> David
>
>
> At 03:33 PM 8/3/00 +0100, you wrote:
>
>
> > > Hi folks,
> > >
> > > Is the url autoencoding feature is functional ?
> > > There are two attributes for session-tracking tag
> > > in orion-web.xml: autoencode-urls, and autoencode-absolute-urls.
> > > I set both to true. But it doesn' work - session are lost if
> > > browser does not have cookies. Autoencoded urls looks a little
strange:
> > > my_url;session_id_goes_here. I was expecting to something like this:
> > > my_url?jsessionid=session_id_goes_here. Is this the correct way
> > > to encode session id in url ?
> > > Any comments are welcome.
> > > Peter
> > > PS.
> > > I am using 1.0.3 version of orion.
> > >
> >
> >This was an error with 1.0.3 that was fixed fairly rapidly (within about
5
> >hours of it being brought to the development team's attention). I'd
> >recommend you get the latest version of Orion and the autoencoded URLs
will
> >indeed be in the correct form
> >
> >-Ciaran
>
>