CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2002
    Posts
    290

    problem about jsessionid

    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.

  2. #2
    Join Date
    Jul 2005
    Location
    Currently in Mexico City
    Posts
    568

    Re: problem about jsessionid

    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.
    Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?

    I had a nightmare last night. I was dreaming that I’m 64-bit and my blanket is 32-bit and I couldn’t cover myself with it, so I’ve spent the whole night freezing. And in the morning I find that my blanket just had fallen off the bed. =S (from: bash.org.ru)

    //always looking for job opportunities in AU/NZ/US/CA/Europe :P
    willCodeForFood(Arrays.asList("Java","PHP","C++","bash","Assembler","XML","XHTML","CSS","JS","PL/SQL"));

    USE [code] TAGS! Read this FAQ if you are new here. If this post was helpful, please rate it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured