Click to See Complete Forum and Search --> : problem about jsessionid


sm_ch
April 13th, 2010, 11:54 PM
dear gurus:

urgent.

the tomcat server return jsessionid in the URL.
Did I need to send the jsessionid in my form to be submit or does the browser automatic do it?
for example:

<go href="services.do" method="post>
<postfield name = "id" value = "1">
</go>

Did I need to replace the "services.do" with ""services.do;jsession=xxx"?

And how will the browser deal with the jsessionid?will it automatic include it in the header to server?

thanks a lot.

Xeel
April 19th, 2010, 04:18 PM
Did I need to send the jsessionid in my form to be submit or does the browser automatic do it?- No by default, you do that only if you want to access some other than yours session.

Did I need to replace the "services.do" with ""services.do;jsession=xxx"?- Same as above.

will it automatic include it in the header to server?- By default your session is always included in the headers inside the REQUEST object.