Andreas Hartmann wrote:
Jörn Nettingsmeier schrieb:
hi!

sorry for a potentially stupid question, but proxy debugging does funny
things to one's brain.

i think i have most redirection bugs tackled by now, but somehow i lost
session persistence.
at some point during my debugging sessions, ";jsessionid=" parameters
crept into my querystrings, which iiuc is a fallback when cookies don't
work. cookies are likely broken due to proxying (i know there is an
apache option to fix this, but i haven't tried it yet). but why is the
session id not persistent? after clicking on any old link in the lenya
gui, i'm asked to re-login and get a new session id...

Are you running Lenya in a non-root context, so that the Apache and
Servlet paths don't match? In Tomcat, you can set the "emptySessionPath"
attribute of the context to "true". No idea about Jetty, though.

yeah. context is /webapp. to make things even more interesting, the servlet url is ajp://localhost:8009/webapp/default/authoring, whereas the proxy url is http://www.example.com/lenya/customer/authoring (i'm hiding the pub id and use some other path). global proxy is http://www.example.com/lenya.

what does "emptySessionPath" do exactly?
i'll google for some jetty equivalent tomorrow...

'night,

jörn


--
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to