Hi Oscar, Try looking at the values for these: getSessionIDForRequest(context().request()) existingSession() context().request().cookies()
Do you see the wosid cookie? Does it have the right session ID in it? Chuck On 2012-08-20, at 12:05 PM, Oscar González wrote: > Hi Chuck, > Yes, I'm storing the session ID in cookies and firefox is accepting them. > session.setStoresIDsInCookies(true); > > Oscar. > > > Subject: Re: Restored session > > From: [email protected] > > Date: Mon, 20 Aug 2012 11:49:55 -0700 > > CC: [email protected] > > To: [email protected] > > > > Hi Oscar, > > > > > > Are you storing the session ID in cookies? Is FireFox accepting cookies? > > > > > > Chuck > > > > > > On 2012-08-20, at 11:10 AM, Oscar González wrote: > > > > > Hi all, > > > Here I have this code lines in the DirectAction class, google chrome the > > > session is restored. > > > but in Mozilla firefox a new session is created. > > > Why is this happening? > > > What do I have to do to make it works on firefox too? > > > > > > public WOActionResults entidadesListAction() { > > > WOComponent nextPage = null; > > > Session session =(Session)session(); > > > if (!session.isValidCiaId()) { > > > nextPage = pageWithName(SesionExpirada.class.getName()); > > > } else { > > > nextPage = pageWithName (EntidadList.class.getName()); > > > ((EntidadList)nextPage).browsing = true; > > > ((EntidadList)nextPage).addButton2 = true; > > > } > > > return nextPage; > > > } > > > > > > Saludos. > > > _______________________________________________ > > > Do not post admin requests to the list. They will be ignored. > > > Webobjects-dev mailing list ([email protected]) > > > Help/Unsubscribe/Update your Subscription: > > > https://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/gvc/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/gvc/practical_webobjects _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
