Re: Sessionless Direct Actions
Re: Sessionless Direct Actions
- Subject: Re: Sessionless Direct Actions
- From: "Jonathan Fleming" <email@hidden>
- Date: Sat, 31 May 2003 09:22:12 +0100
From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
To: <email@hidden>
Subject: Re: Sessionless Direct Actions
Date: Fri, 30 May 2003 12:52:13 -0500
james o, email@hidden, wrote:
>i have direct actions that get XML data from my WO application and do
>nothing else.
>
>is it possible to create DirectActions that don't create new Sessions?
>
>i guess i could run the direct action and then use session.terminate()
>to close the session...
So long you and nothing else you call calls session(), a session won't be
created.
Beware of these dynamic elements too, they require state to be stored on the
server and so will create a session:
WODisplayGroup
WOHyperlink when the action attribute is bound
WOCollapsibleComponentContent
WOTabPanel
and depending on how you bind them
WOBrowser; WOCheckBox; WORadioButton and so on
all of these and a few more can catch you out with the creation of a session
if your not carefull. Test and check that request handler 'wa' in the
WebObjects Http URL does not turn to 'wo'.
It's entirely possible to create sessionless WebObjects apps that vend
XML and even WOComponent-laden pages. rentzsch.com is one example, and
its source is in Project Wonder.
.......................................................
Jonathan 'Wolf' Rentzsch http://rentzsch.com
Red Shed Software http://redshed.net (847) 584-7465
PGP: b2af 1a09 f881 ebde c9d6 c4d2 c04f a3c0 3ec5 d5f2
"better" necessarily means "different"
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_________________________________________________________________
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.