This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread 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


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: 44
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: 63202
    
  69

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
 
It's not a secret anymore!