• 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: Chuck Hill <email@hidden>
  • Date: Wed, 17 Feb 2010 10:40:23 -0800

Nice looking site!


I am pretty sure that something else is going on. Maybe some code calling terminate()? Some bad HTML causing a new session to get created?


Chuck


On Feb 17, 2010, at 2:46 AM, Amedeo Mantica wrote:

Look at my website, www.confindustria.chieti.it, in the top right corner there is a barely visible number indicating the session timeout value... ( 1200 ), after user log in, the value go to 3600 and remain 3600, but session expires after 1200

Amedeo

On 16/feb/2010, at 22.21, Mark Ritchie wrote:

On 16/Feb/2010, at 12:13 PM, Amedeo Mantica wrote:
no, is inside the R-R Loop


Hey Amedeo!

I would set a breakpoint on the setTimeOut() method and see when the timeout is being set!
Using jdb, this would be something like:


path/to/woa -NSJavaDebugging YES
stop in com.webobjects.appserver.WOSession.setTimeOut
run
...
Breakpoint hit: "thread=WorkerThread0", com.webobjects.appserver.WOSession.setTimeOut(), line=678 bci=0

where
[1] com.webobjects.appserver.WOSession.setTimeOut (WOSession.java: 678)
[2] com.webobjects.appserver.WOSession.<init> (WOSession.java:233)
...


cont

Repeat until you find the case where the timeOut is getting set. ;-)
Note that the first time is the WOSession constructor setting the initial value.
It's the times after that are most interesting!
M.


P.S. I'm open to learning how to do this in Eclipse however my understand is that Eclipse can't set break points when it doesn't have the source code.


_______________________________________________ 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

-- Chuck Hill Senior Consultant / VP Development

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to 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>)

  • Prev by Date: Re: What would it take?
  • Next by Date: Re: What would it take?
  • Previous by thread: Re: session timeout trouble
  • Next by thread: Re: session timeout trouble
  • Index(es):
    • Date
    • Thread