hmmmm....

I am using session().defaultEditingContext() to get a context to query..

does that create a new session?

- James


On Nov 6, 2006, at 1:05 PM, Chuck Hill wrote:


On Nov 6, 2006, at 10:25 AM, James Cicenia wrote:

Hello -

One of my apps has a Flash front-end that has direct actions associated with
certain buttons in the Flash.

I think this is causing my application to eventually stop taking new connections. I think it is just creating new sessions on and on till it freezes and I have to
actually kill the instance.

Would this be killing my app?

Yes, if it ran out of memory.


Is there an easy way of maintaining or reducing the sessions?

Do the direct actions need a session? If not, remove whatever code it is that references a session. If they do, Flash needs to include the session ID in the URL it requests. I have done that by passing the URLs as parameters to the Flash object.

Chuck

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to