• 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
Accessing the session in WOLongResponsePage.performAction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing the session in WOLongResponsePage.performAction


  • Subject: Accessing the session in WOLongResponsePage.performAction
  • From: Fabrice Pipart <email@hidden>
  • Date: Tue, 7 Feb 2006 13:41:36 +0100

Hi !

I am having trouble in the implementation of a WOLongResponsePage subclass.
I would like to access the session of my user in the performAction method to check some values stored in it.
But when this is the second refresh of my page, I am out of the request-response loop and therefore, my context is null when I do a session() call.
I can still access the values stored in my session but I have an annoying message in the console.

Is there a way to store those values somewhere else than in the session?
Is there a way to access the session better than session()?
I have looked at WOSessionStore.checkOutSessionWithID but its second parameter is a request... I don't have any in performAction...

If someone could help...

Thanks

Fabrice


www.icconsulting.mc


International Corporate Consulting

Palais de la Scala

1 avenue Henri Dunant

Suite 1155

MC - 98000 Monaco


Skype: fabrice.pipart

Tel.  +377 97 98 21 04 (direct)

Fax. +377 97 70 88 07



 _______________________________________________
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: Accessing the session in WOLongResponsePage.performAction
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: Many-to-Many inside same Entity
  • Next by Date: Re: Accessing the session in WOLongResponsePage.performAction
  • Previous by thread: Re: Many-to-Many inside same Entity
  • Next by thread: Re: Accessing the session in WOLongResponsePage.performAction
  • Index(es):
    • Date
    • Thread