why new URLConnection in java application can't keep session
Posted on 2003-02-20
My java-application client work this way:
first request for book list, then request for infomation of a special book by index. By I find the second request can't store the cookie from first session.
Here is my relative code:
URL url = new URL(URLAdresse);
URLConnection urlConnection = url.Connection();
kindly tell me why, thks!