Hmm, after thinking about this.
Normally the user decides if he accepts a cookie or not,
and if cookies are not accepted the HttpServlet.rewriteUrl
kind-of-method needs to
be used to get this gonig.

Looking at the std. Jetty config there is no way of configuring Jetty
to stick to only URL-Rewriting.
though I might be wrong on this.

regards, Achim

2012/5/10 Michael Szalay <[email protected]>:
> Yes, I tried all 4 possible combinations of empty an non-empty values ;-)
> The server always sends me a cookie and never does a rewrite...
>
> Regards Michael
>
> --
> Michael Szalay
> Senior Software Engineer
>
> basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
> http://www.basis06.ch - source of smart business
>
> ----- Ursprüngliche Mail -----
> Von: "Achim Nierbeck" <[email protected]>
> An: [email protected]
> Gesendet: Donnerstag, 10. Mai 2012 16:35:28
> Betreff: Re: Configure Jetty.xml to rewrite Session Cookies
>
> Did you try to set one of them to a empty value?
> I might have some time later to take a deeper look into this
> to give you a more detailed answer.
>
> regards, Achim
>
> 2012/5/10 Michael Szalay <[email protected]>:
>> Hi Achim
>>
>> thanks for you answer. I found this settings in the webconsole.
>>
>> I can configure a session cookie name and a session url, but what to 
>> configure to disable
>> cookies and enabling url rewriting?
>>
>> Regards Michael
>>
>> --
>> Michael Szalay
>> Senior Software Engineer
>>
>> basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
>> http://www.basis06.ch - source of smart business
>>
>> ----- Ursprüngliche Mail -----
>> Von: "Achim Nierbeck" <[email protected]>
>> An: [email protected]
>> Gesendet: Donnerstag, 10. Mai 2012 16:16:26
>> Betreff: Re: Configure Jetty.xml to rewrite Session Cookies
>>
>> Hi,
>>
>> this probably needs to be configured through the pax-web.cfg
>> (Configuration Admin Service) cause this is
>> part of the properties available to the http-service. See also the
>> Pax-Web documentation at [1]
>>
>> Regards, Achim
>>
>> [1] - http://team.ops4j.org/wiki/display/paxweb/Basic+Configuration
>>
>> 2012/5/10 Michael Szalay <[email protected]>:
>>> Hi all
>>>
>>> does anyone know how I can configure jetty.xml in Karaf to do not write 
>>> Session Cookies, but
>>> rewriting the sessionid in the url instead?
>>>
>>> Regards
>>> Michael
>>
>>
>>
>> --
>>
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>> Committer & Project Lead
>> OPS4J Pax for Vaadin
>> <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
>> Lead
>> blog <http://notizblog.nierbeck.de/>
>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> Committer & Project Lead
> OPS4J Pax for Vaadin
> <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
> Lead
> blog <http://notizblog.nierbeck.de/>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
OPS4J Pax for Vaadin
<http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to