• 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: james o <email@hidden>
  • Date: Mon, 2 Jun 2003 12:28:40 -0400

what i understand now is if i don't call session(), a session won't be created. duh, why didn't i think of that... :)

>Beware of these dynamic elements too, they require state to be stored on the server and so will create a session:

is there a list of dynamic elements to avoid?

>I would like to add just one thing. Sessions are not bad in themselves and can bring quite a bit of speed improvement to a DirectAction application by >caching the objects an cutting the number of fetches you need at each request.

what i have is an xml news feed that calls and fetches the same data over and over. the news might change once or twice daily. my session count continues to grow until the app crashes/freezes. i've added additional instances which helped. i was thinking if i stopped creating new sessions the direct actions

>My ContentContext allows fetch spec caching sans sessions:

> <http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/wonder/Wonder/ Experimental/
WOWebLog/ContentContext/>
thanks, caching the fetchspec looks great!


thanks everyone for the input,
./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.

  • Follow-Ups:
    • Re: Sessionless Direct Actions
      • From: Jonathan Rochkind <email@hidden>
  • Prev by Date: Re: WebObjects vs. Microsoft's .NET
  • Next by Date: Re: Sessionless Direct Actions
  • Previous by thread: On-line Documentation (Was: WebObjects vs. Microsoft's .NET)
  • Next by thread: Re: Sessionless Direct Actions
  • Index(es):
    • Date
    • Thread