You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Giampaolo <ne...@trapo.it> on 2004/05/10 15:20:20 UTC
Jsession = *
This is what my browser add to url when i go to lenya site. I would like to
remove it since when i log into authoring mode it breaks lenya matchers giving
me a not existing page. Any hint on server side?
Giampaolo/Trapo
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Jsession = *
Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Mon, 2004-05-10 at 19:01, Michael Wechner wrote:
> Rolf Kulemann wrote:
>
> >On Mon, 2004-05-10 at 15:20, Giampaolo wrote:
> >
> >
> >>This is what my browser add to url when i go to lenya site. I would like to
> >>remove it since when i log into authoring mode it breaks lenya matchers giving
> >>me a not existing page. Any hint on server side?
> >>
> >>
> >
> >I have the same problem, but only when doing the first request. I did an
> >ugly hack to the URLParametrizer, which seems to work, but it is a hack.
> >
> >
>
> what is your hack?
It is like this:
Index: PageEnvelopeModule.java
===================================================================
RCS file:
/home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/components/modules/input/PageEnvelopeModule.java,v
retrieving revision 1.38
diff -u -r1.38 PageEnvelopeModule.java
--- PageEnvelopeModule.java 16 Mar 2004 11:12:16 -0000 1.38
+++ PageEnvelopeModule.java 10 May 2004 17:13:26 -0000
@@ -214,7 +214,11 @@
Request request =
ObjectModelHelper.getRequest(objectModel);
- map = parameterizer.parameterize(request.getRequestURI(),
source, parameters);
+ if(request.getRequestURI().indexOf(";jsessionid") >= 0)
+ map =
parameterizer.parameterize(request.getRequestURI().substring(0,
request.getRequestURI().indexOf(";jsessionid")), source, parameters);
+ else
+ map =
parameterizer.parameterize(request.getRequestURI(), source, parameters);
+
documentType = (String) map.get(URI_PARAMETER_DOCTYPE);
} finally {
if (parameterizer != null) {
>
> >Maybe there is a better solution out there.
> >
> >
--
Regards,
Rolf Kulemann
The past always looks better than it was. It's only pleasant because
it isn't here.
-- Finley Peter Dunne (Mr. Dooley)
PGP/GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Jsession = *
Posted by Michael Wechner <mi...@wyona.com>.
Rolf Kulemann wrote:
>On Mon, 2004-05-10 at 15:20, Giampaolo wrote:
>
>
>>This is what my browser add to url when i go to lenya site. I would like to
>>remove it since when i log into authoring mode it breaks lenya matchers giving
>>me a not existing page. Any hint on server side?
>>
>>
>
>I have the same problem, but only when doing the first request. I did an
>ugly hack to the URLParametrizer, which seems to work, but it is a hack.
>
>
what is your hack?
>Maybe there is a better solution out there.
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Jsession = *
Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Mon, 2004-05-10 at 15:41, Rolf Kulemann wrote:
> On Mon, 2004-05-10 at 15:20, Giampaolo wrote:
> > This is what my browser add to url when i go to lenya site. I would like to
> > remove it since when i log into authoring mode it breaks lenya matchers giving
> > me a not existing page. Any hint on server side?
>
> I have the same problem, but only when doing the first request. I did an
> ugly hack to the URLParametrizer, which seems to work, but it is a hack.
As u have already seen, I meant I patched the PageEnvelopeModule.
>
> Maybe there is a better solution out there.
--
Regards,
Rolf Kulemann
There are no games on this system.
PGP/GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Jsession = *
Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Mon, 2004-05-10 at 15:20, Giampaolo wrote:
> This is what my browser add to url when i go to lenya site. I would like to
> remove it since when i log into authoring mode it breaks lenya matchers giving
> me a not existing page. Any hint on server side?
I have the same problem, but only when doing the first request. I did an
ugly hack to the URLParametrizer, which seems to work, but it is a hack.
Maybe there is a better solution out there.
--
Rolf Kulemann Tel. +49 (0) 5132 82 48 16
Rethmarstr. 12, 31275 Lehrte, Germany Fax +49 (0) 721 151 20 76 19
mail@rolf-kulemann.com Mobile +49 (0) 176 24 08 89 92
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org