We are trying to get data from a servlet using http request from a standalone Java 
program using URLConnection class.

We are sending back the cookie with the session id but the sesison is not being 
maintained across multiple requests within the timeout period. It seems that the 
session is invalidated immediately after the program terminates the execution the 
first time around.

How do we maintain session? Is there any additional information we need to send to the 
server in addition to the cookie with sessionid?

Thanks.


-----------------------------------------------------------------
Manage your communications with...iComMand http://www.conexys.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to