11-14-2011 07:38 AM
11-14-2011 09:29 AM
I'm sorry, I am still waiting for my questions to answered. I didn't ask for any source so I am not sure what you have given us here or why. But rather than explain that can you please answer all my questions.
11-16-2011 05:47 AM
302 error exist because of redirection,
one of the reason of redirection is:
, If u r connected with wifi to simulator, and wifi cannot handle cookies, so you need to hanlde cookies by ur own(use this link)http://www.hccp.org/java-net-cookie-how-to.html....
Form http server response header i extracted the set-cookies--- name=value pair...
It will be something like this ASP.NET_SessionId=somevalue;path=/;HttpOnly
we need to extract somevalue from (excluding";path=/;HttpOnly") and send it to server next timewhenever u r sending request...
IFu have 2 cookies from server then send both the cookies next time when u sending request...
String myCook = cookiesAuNAm1+"="+session+";"+ cookiesAuNAm22+"="+Aut;