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, 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

Reply via email to