This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes if client has more than one cookie how it'll decide 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 "if client has more than one cookie how it Watch "if client has more than one cookie how it New topic
Author

if client has more than one cookie how it'll decide

sakthi vadivel
Ranch Hand

Joined: Dec 16, 2007
Posts: 41
hiii folks

I have a general doubt about session management using client side cookie. think we have opened many sites in that 3 or 4(site1,site2,site3) sites creates a session and stores cookie into client.

when we are accessing site2 how browser will find out this is the cookie for the site2.

thanks in advance


sakthi SCJP, SCWCD OCA
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

Cookies are associated with the domains, and even paths within a domain, that created them.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: if client has more than one cookie how it'll decide