Hi all, I am developing a simple application to work on the net, it
post data to server, gets the cookie, and gets another pages using
this cookie. It's used for making a mobilization of a web site which
cannot be run on mobile phones easily. Anyways, when I use Apache
Tomcat, I got no errors, works perfectly. However, when I use
AppEngine locally on my computer, I get cookie error:


            String content = "ID=" + username + "&PWD=" + password +
"&rndval=" + System.currentTimeMillis();
            o.write(content.getBytes());
            String server_cookie = urlConn.getHeaderField("Set-
Cookie");
            for ( int i = 0; i < 1000; i++){
                System.out.println( i + ") " +
urlConn.getHeaderField(i));
            }
            System.out.println("server cookie: " + server_cookie);
            cookie = server_cookie;

cookie is returned null, for both "set-cookie" & "Set-Cookie", so my
program won't work after all. What is the problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to