• 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: Too Many Sessions Are Being Generated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Too Many Sessions Are Being Generated


  • Subject: Re: Too Many Sessions Are Being Generated
  • From: Paul Suh <email@hidden>
  • Date: Mon, 8 May 2006 09:48:22 -0400

Jon,

The problem is probably not in the use of the shared EC, but in the page that you are generating. If you have *any* component actions on the page then it will automatically generate a Session object to keep track of the component actions, even if you are getting to the page via a direct action. Beware that component actions may be embedded in subcomponents (e.g. a standard navigation bar that you use on all pages) and may not be immediately obvious. The editing contexts don't know and don't care about sessions at all.


--Paul


Paul Suh http://www.ps-enable.com/
email@hidden (301) 643-1516




On May 5, 2006, at 11:42 AM, Jonathan Miller <email@hidden> wrote:

	In my Direct Actions I'm using the
EOSharedEditingContext.defaultSharedEditingContext() to locate an EO
that is used for the page generation.  For some reason this is
creating a session per Direct Action (According to Monitor).  Does
anyone know why?
_______________________________________________
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: Too Many Sessions Are Being Generated
      • From: Jonathan Miller <email@hidden>
  • Prev by Date: problem while connecting to application via webserver
  • Next by Date: [OT] WebObjects Deployment on windows 2003 Server
  • Previous by thread: Too Many Sessions Are Being Generated
  • Next by thread: Re: Too Many Sessions Are Being Generated
  • Index(es):
    • Date
    • Thread