It's not a secret anymore!*
The moose likes Servlets and the fly likes How can I give a Cookie Name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How can I give a Cookie Name" Watch "How can I give a Cookie Name" New topic
Author

How can I give a Cookie Name

War War Mon
Greenhorn

Joined: May 04, 2002
Posts: 5
Hi,
I would like to ask a question. I added a cookie from my Servlet and it is added with default file name (index.dat) in Cookie directory. I want to give cookie file with .txt extesion. How can I do that?
Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
The way browsers store cookies is up to the browser - you can only influence the name and value and stuff like that.
Bill
War War Mon
Greenhorn

Joined: May 04, 2002
Posts: 5
Thank You...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I give a Cookie Name