• 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: Java Monitor Sessions Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java Monitor Sessions Question


  • Subject: Re: Java Monitor Sessions Question
  • From: Ashley Aitken <email@hidden>
  • Date: Thu, 29 Apr 2004 10:09:40 +0800

On 29/04/2004, at 9:51 AM, Ray Ackland wrote:
I would have thought this is the correct method. Aren't you getting the current session with this, rather than creating new sessions?

Yes, it is generally just getting the session, not creating one, and it is the correct thing to do. IIRC, if you use this in a Direct Action though, it will create a session if one doesn't exist.


Further, what I think Jonathan was referring to was that if you are using Direct Actions then you may think you are not accessing or creating session (e.g. you don't use sessions directly in your code) but you may use a component in your pages that will create a Session (since it needs one).

Since James suggests he is not using Direct Actions, this should not be his problem.

Debugging like Jonathan suggests, is a good idea though.


Cheers, Ashley.

--
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com
_______________________________________________
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.


References: 
 >Re: Java Monitor Sessions Question (From: "Jonathan 'Wolf' Rentzsch" <email@hidden>)
 >Re: Java Monitor Sessions Question (From: James Cicenia <email@hidden>)
 >Re: Java Monitor Sessions Question (From: Ray Ackland <email@hidden>)

  • Prev by Date: Re: Java Monitor Sessions Question
  • Next by Date: Re: Java Monitor Sessions Question
  • Previous by thread: Re: Java Monitor Sessions Question
  • Next by thread: Re: Java Monitor Sessions Question
  • Index(es):
    • Date
    • Thread