Accessing the session in WOLongResponsePage.performAction
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