Re: Sessionless Direct Actions
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.