You either need different paths or different domains.  You can have different 
domains on the same IP if you are not using HTTPS.  You can have different 
paths on the same domain, but you can't do this if the user is moving between 
static pages and your app.

Check your Session class to see what it is using for

public String domainForIDCookies()

Ignore the "domain" in the name, that is actually the path.

If you are making your own cookies, you need to set the correct domain/path 
there.

Chuck
 



On Mar 9, 2011, at 2:17 PM, Oscar González wrote:

> Chuck that is correct, how can I'm fix this, with out change the domain?.
> 
> Saludos,
> Oscar.
> 
> 
> Subject: Re: Problem with multiple aplication
> From: [email protected]
> Date: Wed, 9 Mar 2011 14:11:41 -0800
> CC: [email protected]
> To: [email protected]
> 
> My first guess is that you are using cookies and they are stored under the 
> same domain and path.
> 
> Chuck
> 
> 
> On Mar 9, 2011, at 1:57 PM, Oscar González wrote:
> 
> Hi,
> I have two applications on the same server, each application connects to a 
> different data base. The two applications work for different companies. Some 
> users can access information on both companies. My problem is that some times 
> a user is working on one application (the application for one company), then 
> closes that application and access the second application (the application 
> for the other company), what happens is that he continues seeing data from 
> the first application, this is, the application from the first company. I 
> don't know how this happens. Can be this a session issue? if it is, how can I 
> be sure that the editing context is connected to the right application at the 
> time?
> 
> Saludos,
> Oscar
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to [email protected]
> 
> -- 
> Chuck Hill             Senior Consultant / VP Development
> 
> Practical WebObjects - for developers who want to increase their overall 
> knowledge of WebObjects or who are trying to solve specific problems.    
> http://www.global-village.net/products/practical_webobjects
> 
> 
> 
> 
> 
> 
> 
> 

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/products/practical_webobjects







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to