File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60764
    
  65

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
 
Similar Threads
sessionId
Cookies in encrypted form
Passing Http headers to a different domain.
Confusion about session destruction
Doubts on Cookie..