-
cookie in java
Hello,
I stumbled upon a project which I wanted to use in trying to develop my first mobile app, but the problem is this project is in C#, so now I'm trying to code it in java, but I got stuck on this point now, where the C# code uses a CookieContainer object, so I checked the java api, and found in the java.net an interface called CookieStore and a class called CookieManager. Now what I basically need is to hold all the cookies used in the requests and responses to the my site. So for those who know C#, or those who can help me with my problem, what should I use, CookieManager, CookieStore, or is there another data structure that can help me?
Thanks in advance :D
EDIT: here is the link to the C# library about the CookieContainer if anybody is interested.
-
Re: cookie in java
sry for double posting but i forgot to paste the link , and couldnt do it, so ill post it here until i edit the above post and and paste it there CookieContainer Class
-
Re: cookie in java
According to the documentation, a CookieManager uses a CookieStore, so you should use a CookieManager ...
kind regards,
Jos
-
Re: cookie in java
Ok, thnx JosAh, I'll try it and see what I get :D