• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Restored session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Restored session


  • Subject: Re: Restored session
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 20 Aug 2012 12:13:31 -0700

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@hidden
> > Date: Mon, 20 Aug 2012 11:49:55 -0700
> > CC: email@hidden
> > To: email@hidden
> >
> > 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@hidden)
> > > Help/Unsubscribe/Update your Subscription:
> > >
> > > This email sent to email@hidden
> >
> > --
> > 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • RE: Restored session
      • From: Oscar González <email@hidden>
References: 
 >Restored session (From: Oscar González <email@hidden>)
 >Re: Restored session (From: Chuck Hill <email@hidden>)
 >RE: Restored session (From: Oscar González <email@hidden>)

  • Prev by Date: RE: Restored session
  • Next by Date: Re: Guidance on how to create a framework for the application models
  • Previous by thread: RE: Restored session
  • Next by thread: RE: Restored session
  • Index(es):
    • Date
    • Thread