>>> "Boemio, Neil (CAP, FGI)" <[EMAIL PROTECTED]> 12-May-00
10:53:31 PM >>>
>When the form is submitted I do NOT get the correct session id.
>That is the problem.
>I'm using JRun 2.3.3 build 153
As I said before the problem may be that the container cannot provide
the session id if you parse the POST data yourself.
This would most probably occur if the container used a parameter for
the session id, eg:
/somepath?jsessionid=SESH
Containers are *supposed* to use the extension path, eg:
/somepath;jsessionid=SESH
You can obviously tell which is being used when you see the encoded
page.
I can't remember how JRUN 2.3.3 does it. I'm fairly sure that JRUN
3.0 (in beta now) does it properly though.
The trouble is, if your container doesn't implement this properly
there is nothing you can do because there is no way to ask for a
session by it's id.
One last thing to try if the session id is passed via a parameter -
ensure that you call request.getSession() after the parse since this
will give the container the opportunity at least to find the sesh id
(but I guess you probably worked that out).
If you're session *is* encoded by extension path then I can't see why
it's not working - you'll have to submit your code.
Nic Ferrier
___________________________________________________________________________
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