aspose file tools*
The moose likes Servlets and the fly likes Cookie and client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookie and client " Watch "Cookie and client " New topic
Author

Cookie and client

R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
If I copy cookie file in a another m/c in Cookie folder. Will the cookie work for same site ???


"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Why don't you follow the advice in your sig and do the experiment? Let us know what happens and be sure to include the browser version.
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
Originally posted by William Brogden:
Why don't you follow the advice in your sig and do the experiment? Let us know what happens and be sure to include the browser version.

It does not work ..... and after exp only I am asking this question
I want to know WHY does it not work ???
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
Why is it not working on other computer ??
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
My first guess is that the browser on the other computer does not recognize the cookie file format for some reason. Since you didn't include any information on the browsers you are using, thats all I can say. The standards that have to do with cookies don't say anything about how they are to be stored.
Bill
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
I was using IF5.5 and win 2000 prof. on the previous computer. Now I am on win NT workstation with the same browser IE5.5
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

From having a quick look in the Cookies directory, it looks like there is a text document to store the cookie information, but there is also an index.dat file.
I'm guessing that cookie data will only be looked for if it exists in the index file. Therefore - No, picking up a cookie file from one machine and moving to another will not do anything.
Dave
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
Yes .. I think you are right, that file I have not copied
Soon I will try also by copying index.dat also. But I have to wait for some comp to be free.
Thanks a lot
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cookie and client