• 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: Sessionless Direct Actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sessionless Direct Actions


  • Subject: Re: Sessionless Direct Actions
  • From: Sam Barnum <email@hidden>
  • Date: Fri, 30 May 2003 08:31:28 -0700

I believe that as long as you don't call session() in the direct action, one will not be created. If you're using a component that references its session at any time, one will be created. Avoid this by checking for the existence of a session before calling a method on it.

On Friday, May 30, 2003, at 07:29 AM, james o 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...

tia,
./james
_______________________________________________
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.

References: 
 >Sessionless Direct Actions (From: james o <email@hidden>)

  • Prev by Date: Re: Many pages or one page?
  • Next by Date: From OpenBase To MSSQLServer2000 (EOModeller)
  • Previous by thread: Sessionless Direct Actions
  • Next by thread: Re: Sessionless Direct Actions
  • Index(es):
    • Date
    • Thread