Maria Jesus Turiel schrieb:
Then, I don't need use the context-param

Any idea why I lose the session?

Maybe there's something in your HTTPD configuration which filters the cookie headers? Have you examined the cookies in your browser and the Set-Cookie headers in the HTTP traffic?

Is your application accessible via the internet, so that we might take a look at it?

-- Andreas



Thank you very much

El vie, 17-04-2009 a las 14:39 +0200, Andreas Hartmann escribió:
Hi Maria Jesus,

Maria Jesus Turiel schrieb:

[…]

  <!--context-param>
    <param-name>org.mortbay.jetty.servlet.SessionPath</param-name>
    <param-value>/some/path/to/your/webapp</param-value>
    <description>An override of the session cookie path</description>
   </context-param-->

  <!-- Servlet Configuration ==========================================
-->

But, I don't understand what exactly I have to put instead of
'/some/path/to/your/webapp' I've tried to replace by
'/usr/local/lenya/build/lenya/webapp/' but it doesn't work
this is the context path for which the cookie shall be valid. You can use the parameter to tell Jetty which path to use for cookies if the servlet context differs from the context where the web application is visible via the proxy.

E.g., if your Lenya application is visible at

   http://www.myexample.com/cms/

you have to set the parameter to "/cms":

   <param-value>/cms</param-value>

HTH,

-- Andreas




--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to