This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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: 12889
    
    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