Hi,

You should use encodeURL to perform this correctly

regards

harry

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Werff, M.R.
van der
Sent: Tuesday, September 05, 2000 6:34 PM
To: Orion-Interest
Subject: Autoencoding URLs


Hi,

I'm trying to support browsers that don't have cookies enabled. The
autoencoding of Orion works fine in most cases. It automatically appends
;jsessionid=EDGKOOGMNHNH to most URLs. It even works on URLs with a
parameter: password.jsp?oper=modify becomes
password.jsp?oper=modify;jsessionid=EDGKOOGMNHNH.

So far so good. It does not work when I'm creating the links from
information from a session bean:

        <A href="management.jsp?id=<%=ka%>"><%=user.getKaName(ka)%></A>

In that case I'm ending up with: management.jsp?id=midip without the
;jsessionid=EDGKOOGMNHNH part, and so the user is required to login again
when accessing this link.

Any help is appreciated.

Cheers, Martin.



Martin van der Werff
KPN Research, PO Box 15000, 9700 CD Groningen, The Netherlands
Tel (+31 50 58) 21005, Fax (+31 50) 3122415
[EMAIL PROTECTED]





Reply via email to