Storing / sending a session and using it on the way back.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • narsibvl
    New Member
    • May 2007
    • 4

    #1

    Storing / sending a session and using it on the way back.

    I need to call a c# .net app from my java application that runs on JBOSS using tomcat 5.5. The call is from a HttpSession servlet. The c# .net application then calls an non session servlet. Between these calls i need to somehow store or send the session object so that when i receive control back from the c# application i should be able to move on with the original session.

    I tried to pass the jsessionid in the url, retrived it and passed it along hoping the server would be able to attach the session but that didn't work.

    When I received the jsessionid back from the c# app, i created a JSESSIONID cookie and sent that along. No help there too.

    What do i do in this situation ?

    In short how do i tell tomcat to use a particular session that is active at that point ?

    Thanks
    Narsi
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    I have moved this question to the Java forum as the people there are more likely to have a solution to your problem.

    Comment

    Working...