• 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
Session values set but not available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Session values set but not available


  • Subject: Session values set but not available
  • From: Ute Hoffmann <email@hidden>
  • Date: Mon, 25 Jul 2005 13:36:44 +0200

Hallo,
I have a page that contains several reusable components.

In the constructor of this page I set a value in the session.

I checked, the value is there in this method and the method can retrieve it from the session, too. But obviously outside of the method nothing else on the page can see this value in the session.

Neither is the value correctly displayed in the headline of this page nor is it seen by the reusable components in this page... They all believe it is null.

But when I insert a variable just to diaplay this value at the top of the page, I get the right output.

So why is that, where is the problem? When I set this value in an action method from a navigation bar everything works fine... but then it is set earlier in the creation process...

Is there a way to set a value in the session in the page constructor (or somewhere else? Awake?) and have the rest of the page and all subcomponents see it correctly? There must be. The value I try to set is a Entity-Value, no simple String, but this should not make any difference.

Thanks for some insight,

Regards,
Ute

_______________________________________________
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: Session values set but not available
      • From: Kieran Kelleher <email@hidden>
    • Re: Session values set but not available
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: AW: EOModeler Question
  • Next by Date: Re: Run Log out of commission
  • Previous by thread: Re: Tutorial for creating custom component
  • Next by thread: Re: Session values set but not available
  • Index(es):
    • Date
    • Thread