aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Javascript Cookie 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 » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript Cookie" Watch "Javascript Cookie" New topic
Author

Javascript Cookie

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 371
1) A web page creates cookie on user`s computer. Now if a user visits different web pages, then do all these pages create separate cookie files or all all cookies are stored in one file only ? I mean details of different cookies is stored in one file only ?

2) If all details are stored in one file only, how will browser understand how to retrieve details for a particular page when its revisited ? Is there some kind of identification attached to cookie for a page ?

3) Does a cookie get created on a particular location on computer ? Is this location browser specific or OS specific ?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

It's all browser-specific.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 371
Please answer for the points asked for IE and FireFox.

Thanks

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

You'd be better off researching this on their respective sites. You can look up this info just as easily as I can.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://en.wikipedia.org/wiki/HTTP_cookie
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

nirjari patel,
Your post was moved to a new topic.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript Cookie