• 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
Superfluous Session Creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Superfluous Session Creation


  • Subject: Superfluous Session Creation
  • From: Joe Kramer <email@hidden>
  • Date: Wed, 28 Jan 2009 09:58:10 -0700

Hello everyone,

I am fairly new to the WebObjects world, so I was hoping to get some help.  I am running into a problem with extra sessions getting created from a directAction .  The part I don't understand is that a session already exists somewhere, but context().hasSession is false and existingSession() is null.  I have the following logging statement:

logger.info(Application.application().activeSessionsCount() + " " + context().hasSession() + " " + existingSession());

This produces "1 false null" the first time the directAction is called.  Each subsequent call to the directAction adds another session, while the other two values remain false and null.  I know that the new session is created when pageWithName is called from the directAction, but I don't know why the session is being created and why I can't access it after it is created.  Thanks in advance for any help.

Regards,

Joe Kramer

P.S.  I am using Eclipse 3.4 and WebObjects 5.4.
 _______________________________________________
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: Superfluous Session Creation
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Bug in client side EOF locking?
  • Next by Date: Re: WOLips can't load prototypes from jar anymore
  • Previous by thread: Useful add-on to FireBug - FireScope
  • Next by thread: Re: Superfluous Session Creation
  • Index(es):
    • Date
    • Thread