aspose 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
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply 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: 56533
    
  14

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: if client has more than one cookie how it'll decide
 
Similar Threads
sessionId
Doubts on Cookie..
Cookies in encrypted form
Passing Http headers to a different domain.
Confusion about session destruction