• 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: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]


  • Subject: Re: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]
  • From: Lachlan Deck <email@hidden>
  • Date: Mon, 30 Jun 2008 10:43:24 +1000

On 28/06/2008, at 1:20 AM, Rams wrote:

Hi everyone...

I should add, I am currently using component actions. I'm not defaulting to direct actions yet... so I'm under the impression that there should always be a session present.

Not always so. But you can force a session to be invoked by referencing session() in your component.


I only check context().hasSession() now because I had planned to move to direct actions at a future date. At least Tomcat is failing consistently at the same places, so I guess that's a small ray of hope.

Failing how?

with regards,
--

Lachlan Deck



_______________________________________________
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: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]
      • From: Rams <email@hidden>
References: 
 >context().hasSession() returns false... then true? (From: Rams <email@hidden>)
 >Re: context().hasSession() returns false... then true? (From: Don Lindsay <email@hidden>)
 >Re: context().hasSession() returns false... then true? (From: Rams <email@hidden>)
 >Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?] (From: Rams <email@hidden>)

  • Prev by Date: Re: WebObjects take on GWT?
  • Next by Date: Re: [ANN] WOProject Maven Plug-ins 2.0.15 Released
  • Previous by thread: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]
  • Next by thread: Re: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]
  • Index(es):
    • Date
    • Thread