----- Original Message -----
From: Peter N�tzel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 13, 1999 4:50 PM
Subject: Re: encodeURL()


Hi,

I have another Problem with the encodeUrl - method used with <FORM
action="">:
Some Servlet Engines (e.g. Apache JServ and JRun) use the Http get-method to
encode the session ID (url?sessionID).
I encode the URL in <FORM action=""> and have some other parameters inside
the HTML-FORM(specified with <INPUT> tags) which should be send with the GET
Request.
If the User submits the Request, the encoded SessionID is overwritten by the
Browser with the paremeters specified inside the FORM-tag. In this case I
loose the session.
Does anybody know a solution for this problem ?

Thanks, peter

Yes, you can recover the sessionid parameter value from the request headers
if the session
object reports that cookies are turned off and put it in a correctly named
hidden input
in the form. That may work ok :)

Andy Bailey

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to