aspose file tools*
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 Spring in Action this week in the Spring 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: 12806
    
    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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How can I give a Cookie Name