• 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
Re: Do AjaxTabs cause session creation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Do AjaxTabs cause session creation?
      • From: Lachlan Deck <email@hidden>
References: 
 >Do AjaxTabs cause session creation? (From: Simon McLean <email@hidden>)
 >Re: Do AjaxTabs cause session creation? (From: David LeBer <email@hidden>)

  • Prev by Date: Re: Do AjaxTabs cause session creation?
  • Next by Date: Forcing woapp appstart instead of woapp_52 appstart
  • Previous by thread: Re: Do AjaxTabs cause session creation?
  • Next by thread: Re: Do AjaxTabs cause session creation?
  • Index(es):
    • Date
    • Thread