Re: Do AjaxTabs cause session creation?
Re: Do AjaxTabs cause session creation?
- Subject: Re: Do AjaxTabs cause session creation?
- From: Guido Neitzer <email@hidden>
- Date: Tue, 14 Jul 2009 12:13:14 -0700
And to add to this:
The Ajax.framework is not meant to be sessionless - it is really meant
to make Ajax with component actions and therefore sessions usable.
cug
On 14. Jul. 2009, at 11:48 , David LeBer wrote:
On 14-Jul-09, at 2:43 PM, Simon McLean wrote:
hmmmm. i've been trying to fix a login page so that it doesn't cause
session creation. I've narrowed it down to AjaxTabbedPanel. I
presumed
it must be something in one of the tabs AjaxTabbedPanel so i stripped
it down to a real basic:-
<wo:er.ajax.AjaxTabbedPanel id = "test">
<wo:er.ajax.AjaxTabbedPanelTab id = "one" isSelected = "$true" name
= "tab one"> 1 </wo:er.ajax.AjaxTabbedPanelTab>
<wo:er.ajax.AjaxTabbedPanelTab id = "two" isSelected = "$false" name
= "tab two"> 2 </wo:er.ajax.AjaxTabbedPanelTab>
</wo:er.ajax.AjaxTabbedPanel
... but this still causes session creation.
so i tanked through all the AjaxTabbedPanel and AjaxTabbedPanelTab
code and i can't see anywhere where it touches the session.
It doesn't need to explicitly ask for a session. Simply using an
action binding or a non-stateless component is enough.
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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
_______________________________________________
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