• 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: session timeout trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: session timeout trouble


  • Subject: Re: session timeout trouble
  • From: Mark Ritchie <email@hidden>
  • Date: Wed, 17 Feb 2010 15:25:05 -0800

Hey!

On 17/Feb/2010, at 1:53 PM, Mark Wardle wrote:
> Might be worth checking it is the session you think it is?

This is certainly something to consider!  Setting a break point on the session constructor would be a quick way to show how many sessions are getting created and when...  Something like in jdb this:

	$ /path/to/app -NSJavaDebugging YES
	...
	> stop in com.webobjects.appserver.WOSession.<init>()
	> run
	...
	Breakpoint hit: "thread=WorkerThread10", com.webobjects.appserver.WOSession.<init>(), line=267 bci=0
	...
	> where
	[1] com.webobjects.appserver.WOSession.<init> (WOSession.java:267)
	[2] Session.<init> (Session.java:XXX)
	...

This has the advantage of working without changing (or having for matter) source code.
And should be immune to horrible inheritance hierarchies from archaic projects! ;-)
M.
P.S. This is my way to set break points on class constructors and while it differs from the documentation, it works!  I'll take working over documented any day! ;-)
 _______________________________________________
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: session timeout trouble
      • From: Amedeo Mantica <email@hidden>
References: 
 >session timeout trouble (From: Amedeo Mantica <email@hidden>)
 >Re: session timeout trouble (From: Chuck Hill <email@hidden>)
 >Re: session timeout trouble (From: Amedeo Mantica <email@hidden>)
 >Re: session timeout trouble (From: Timo Hoepfner <email@hidden>)
 >Re: session timeout trouble (From: Amedeo Mantica <email@hidden>)
 >Re: session timeout trouble (From: Mark Ritchie <email@hidden>)
 >Re: session timeout trouble (From: Amedeo Mantica <email@hidden>)
 >Re: session timeout trouble (From: Mark Wardle <email@hidden>)

  • Prev by Date: Re: session timeout trouble
  • Next by Date: Re: Q about locked ec
  • Previous by thread: Re: session timeout trouble
  • Next by thread: Re: session timeout trouble
  • Index(es):
    • Date
    • Thread