Re: Session timeout when performing an action

2013-10-15 Thread Klaus Berkling
I'm somewhat puzzled. Do you have one of these long requests going on when you get the improper session timeout error? Or is there a lengthy request that was aborted by the user/client? Because that doesn't stop the database query. Eventually you'll get a broken pipe error i

Re: Session timeout when performing an action

2013-10-15 Thread Chuck Hill
1200 >>> Receive Timeout: 1200 >> >> Do you have requests that take longer than 20 minutes? >> >> >>> The page seems related to an http error 500. >> >> Is it a 500 or another 5xx? >> >> >>> Is any way to avoid the adaptor to give t

Re: Session timeout when performing an action

2013-10-15 Thread Schoenenberger Dominique
Do you have requests that take longer than 20 minutes? > > >> The page seems related to an http error 500. > > Is it a 500 or another 5xx? > > >> Is any way to avoid the adaptor to give the request to another instance if >> one instance is too slow to

Re: Session timeout when performing an action

2013-10-15 Thread Alexander Spohr
to respond because this seems no helping because at > the end it causes a "Session timeout" error. This would just hide your problem. You need to fix it. > I need also to say that when the user get a untimely "Session Timeout", there > is not waiting time (We got the

Re: Session timeout when performing an action

2013-10-14 Thread Schoenenberger Dominique
Minium Adaptor threads: 16 Maximum Adaptor threads: 256 Adaptor threads: 8 Listen Queue Size: 128 Project Search Path: () Session TimeOut (sec): 2500 I tried to set something similar to your parameters but then on direct action half of the time the user get a page with: No error I

Re: Session timeout when performing an action

2013-10-11 Thread Klaus Berkling
On Oct 11, 2013, at 12:27 PM, Chuck Hill wrote: >> >> In addition to what Chuck said, check the adaptor threads and listen >> queue size in the Application settings. Typically I used min 10, max 20, >> queue 20. This is very app specific. It's better to let connections queue >> up than to let t

Re: Session timeout when performing an action

2013-10-11 Thread Chuck Hill
On 2013-10-10 10:54 PM, "Klaus Berkling" wrote: >On Oct 10, 2013, at 8:57 AM, Chuck Hill wrote: > >> Do any of your requests take a long time to process (lots of database >> access or calculations)? Wotaskd will send the requests to another >> instance if one is too slow in responding. For mo

Re: Session timeout when performing an action

2013-10-10 Thread Klaus Berkling
On Oct 10, 2013, at 8:57 AM, Chuck Hill wrote: > Do any of your requests take a long time to process (lots of database > access or calculations)? Wotaskd will send the requests to another > instance if one is too slow in responding. For most applications this is > a useless attempt at recovery.

Re: Session timeout when performing an action

2013-10-10 Thread Chuck Hill
Do any of your requests take a long time to process (lots of database access or calculations)? Wotaskd will send the requests to another instance if one is too slow in responding. For most applications this is a useless attempt at recovery. You can try increasing the Connect and Receive Timeout

Re: Session timeout when performing an action

2013-10-10 Thread Alexander Spohr
Am 10.10.2013 um 09:42 schrieb Schoenenberger Dominique : > It's like the adaptor (?) gives the request to the wrong instance. Yes. Instance 12 may be offline or not reachable (responds too slow) ___ Do not post admin requests to the list. They wi

Re: Session timeout when performing an action

2013-10-10 Thread Schoenenberger Dominique
I put some log and have more information about this problem: I have multiple instances (15 instances on 2 servers). Here what happened: 1) Click on a button using instance number 12 2) Instance number 1 receive the request and returns a session timeout because I have no session on this instance

Re: Session timeout when performing an action

2012-11-20 Thread Schoenenberger Dominique
r's request is getting sent to a different instance which of course won't > have the user's session. > > > Chuck > > > > On 2012-09-14, at 6:52 AM, Schoenenberger Dominique wrote: > >> I have a problem with untimely session timeout. The user is d

Re: Session timeout when performing an action

2012-09-17 Thread Chuck Hill
ominique wrote: > I have a problem with untimely session timeout. The user is doing actions > with the application but suddenly after doing something (a click on a button > for example), he got a session timeout. > > The probability of this to occur is quite low but very annoying fo

Re: Session timeout when performing an action

2012-09-16 Thread Ravi Mendis
Salut Dominique!ça và?I think you can safely assume the session timeout is not cos of xhtml validation :)Thx,RaviOn Sep 14, 2012, at 05:38 PM, Schoenenberger Dominique <dominique.schoenenber...@nagra.com> wrote: I have a problem with untimely session timeout. The user is doing actions wi

Session timeout when performing an action

2012-09-14 Thread Schoenenberger Dominique
I have a problem with untimely session timeout. The user is doing actions with the application but suddenly after doing something (a click on a button for example), he got a session timeout. The probability of this to occur is quite low but very annoying for the user. I suspect that it occurs

Re: session timeout info

2010-10-22 Thread Chuck Hill
http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/appserver/WOSession.html#setTimeOut(double) On Oct 22, 2010, at 9:45 AM, Theodore Petrosky wrote: > what does the double value of the session timeOut represent? > >

session timeout info

2010-10-22 Thread Theodore Petrosky
what does the double value of the session timeOut represent? If I do a setTimeOut(5000); what amount of time does this represent? seconds? When I change the value, it doesn't seem like seconds, but I know it's not minutes (or it doesn't feel li

Session timeout

2010-04-13 Thread Amedeo Mantica
Is there a built-in method to know the session remaining time before timeout ? otherwise i guess that I can calculate it from the last session sleep() timestamp Thanks Amedeo ___ Do not post admin requests to the list. They will be ignored. Webobjects-

Re: session timeout trouble

2010-02-18 Thread Amedeo Mantica
unfortunately at the moment i don't know jdb but can i try setting breakpoints Amedeo On 18/feb/2010, at 00.25, Mark Ritchie wrote: > 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 consid

Re: session timeout trouble

2010-02-17 Thread Mark Ritchie
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

Re: session timeout trouble

2010-02-17 Thread Mark Ritchie
On 17/Feb/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

Re: session timeout trouble

2010-02-17 Thread Mark Wardle
ot an expert here but in case it helps! Mark -- Dr. Mark Wardle Specialist registrar, Neurology (Sent from my mobile) On 17 Feb 2010, at 10:46, Amedeo Mantica wrote: Look at my website, www.confindustria.chieti.it, in the top right corner there is a barely visible number indicating the se

Re: session timeout trouble

2010-02-17 Thread Chuck Hill
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

Re: session timeout trouble

2010-02-17 Thread Amedeo Mantica
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

Re: session timeout trouble

2010-02-17 Thread Timo Hoepfner
Am 16.02.2010 um 22:21 schrieb Mark Ritchie: 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. Well, he could override setTimeout in his WOSession subclass and set the breakpoint there...

Re: session timeout trouble

2010-02-16 Thread Mark Ritchie
On 16/Feb/2010, at 1:21 PM, Mark Ritchie wrote: > path/to/woa -NSJavaDebugging YES >> stop in com.webobjects.appserver.WOSession.setTimeOut >> run >> ... Dratted fancy e-mail readers change the greater then sign prompt into a vertical bar... *grumble* The above should be more like: path

Re: session timeout trouble

2010-02-16 Thread Mark Ritchie
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.WO

Re: session timeout trouble

2010-02-16 Thread Amedeo Mantica
no, is inside the R-R Loop Amedeo On 16/feb/2010, at 21.11, Timo Hoepfner wrote: > To get the new timeout "applied", the session needs to be checked into the > session store again. This usually happens at the end of the > Request-Response-Loop. Any chance you modify the timeout outside of the

Re: session timeout trouble

2010-02-16 Thread Timo Hoepfner
To get the new timeout "applied", the session needs to be checked into the session store again. This usually happens at the end of the Request-Response-Loop. Any chance you modify the timeout outside of the RR-loop? Timo Am 16.02.2010 um 20:54 schrieb Amedeo Mantica: > no, i'm monitoring the v

Re: session timeout trouble

2010-02-16 Thread Amedeo Mantica
may be in some undocumented method ? On 16/feb/2010, at 20.56, Chuck Hill wrote: > > On Feb 16, 2010, at 11:54 AM, Amedeo Mantica wrote: > >> no, i'm monitoring the value it is 3600 after user logs in >> >> very strange >> >> there is a method that returns the remaining time ? > > No. Y

Re: session timeout trouble

2010-02-16 Thread Chuck Hill
On Feb 16, 2010, at 11:54 AM, Amedeo Mantica wrote: no, i'm monitoring the value it is 3600 after user logs in very strange there is a method that returns the remaining time ? No. You could dig around in the WOSessionStore for it. Chuck On 16/feb/2010, at 20.16, Chuck Hill wrote:

Re: session timeout trouble

2010-02-16 Thread Amedeo Mantica
no, i'm monitoring the value it is 3600 after user logs in very strange there is a method that returns the remaining time ? Amedeo On 16/feb/2010, at 20.16, Chuck Hill wrote: > > On Feb 16, 2010, at 8:24 AM, Amedeo Mantica wrote: > >> Hello, >> >> I have a strange behaviour, >> >> In m

Re: session timeout trouble

2010-02-16 Thread Chuck Hill
On Feb 16, 2010, at 8:24 AM, Amedeo Mantica wrote: Hello, I have a strange behaviour, In my application constructor i have: setSessionTimeOut(600); and it works perfectly, the session expires after 10 minutes now, when an user authenticates i call this in session... this.setTimeOut(3600);

session timeout trouble

2010-02-16 Thread Amedeo Mantica
Hello, I have a strange behaviour, In my application constructor i have: setSessionTimeOut(600); and it works perfectly, the session expires after 10 minutes now, when an user authenticates i call this in session... this.setTimeOut(3600); but... the session still expire after 600 seconds...

Re: Session timeout

2010-02-04 Thread Frédéric JECKER
Hi, We initially define the timeout within the Session object's constructor. On the transactions which needs the user to be "off" a while (like document editing within FCKEditor) we update the user's session timeout in the page constructor. Following your tip on the sessio

Re: Session timeout

2010-02-03 Thread Timo Hoepfner
uot; while the correct >> message would be "session not found" in this case. Maybe this is the case? >> Then use something like WOLongResponsePage or ERXLongResponse to pevent the >> instance from blocking. >> >> Timo >> >> >> Am 03.02.2

Re: Session timeout

2010-02-03 Thread r...@synapticstorm.com
Hi Fred, I set setSessionTimeOut() in the Application which works reliably for me. Regards, Rob. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update

Re: Session timeout

2010-02-03 Thread Frédéric JECKER
Trotobas a écrit : > Hi Fred > > Could it be exceptions that cause the session to end prematurely ? And the > exception being catched but hidden by a "session timeout page" ? > > Regards > Christian > > > On 3 févr. 2010, at 14:41, Frédéric JECKER wrot

Re: Session timeout

2010-02-03 Thread Christian Trotobas
Hi Fred Could it be exceptions that cause the session to end prematurely ? And the exception being catched but hidden by a "session timeout page" ? Regards Christian On 3 févr. 2010, at 14:41, Frédéric JECKER wrote: > > Hi Timo, > > The fact is that disconnections ar

Re: Session timeout

2010-02-03 Thread Frédéric JECKER
ke WOLongResponsePage or ERXLongResponse to pevent the > instance from blocking. > > Timo > > > Am 03.02.2010 um 11:13 schrieb Frédéric JECKER: > >> Hi, >> >> In our application's Session object we set the default session timeout to >> 3600 s

Re: Session timeout

2010-02-03 Thread Timo Hoepfner
n this case. Maybe this is the case? Then use something like WOLongResponsePage or ERXLongResponse to pevent the instance from blocking. Timo Am 03.02.2010 um 11:13 schrieb Frédéric JECKER: Hi, In our application's Session object we set the default session timeout to 3600 secon

Session timeout

2010-02-03 Thread Frédéric JECKER
Hi, In our application's Session object we set the default session timeout to 3600 seconds by a call to the setTimeOut() function within the constructor. One some specific transactions we lengthen this time by modifying the user's session (again using the setTimeOut() function). We

Re: session timeout

2010-01-27 Thread Chuck Hill
On Jan 27, 2010, at 3:24 PM, Jake Bearkley wrote: HI All, We have a webobjects application which when the session timeout displays a "CustomSessionTimeoutPage". On this page we have a link to the main page for them to click on. 1) is there a way to log a user out and return t

session timeout

2010-01-27 Thread Jake Bearkley
HI All, We have a webobjects application which when the session timeout displays a "CustomSessionTimeoutPage". On this page we have a link to the main page for them to click on. 1) is there a way to log a user out and return them to the current page instead of this custom page? 2)

Re: Replacing the Session Timeout message

2009-10-19 Thread Kieran Kelleher
time ago, I did a brief article for this on STEPWISE; http://homepage.mac.com/andrewlindesay/le/articles/wo_errorreporting_article.pdf Regards; I have looked through all the documentation I can find, but I cannot find information on replacing the generic Web Objects Session Timeout message. I che

Re: Replacing the Session Timeout message

2009-10-19 Thread Joe Little
; >> I have looked through all the documentation I can find, but I cannot find >> information on replacing the generic Web Objects Session Timeout message.  I >> checked in WOnder as well, hoping there was some information there. >> What framework do these items live in?

Re: Replacing the Session Timeout message

2009-10-17 Thread Don Lindsay
time ago, I did a brief article for this on STEPWISE; http://homepage.mac.com/andrewlindesay/le/articles/wo_errorreporting_article.pdf Regards; I have looked through all the documentation I can find, but I cannot find information on replacing the generic Web Objects Session Timeout

Re: Replacing the Session Timeout message

2009-10-17 Thread Andrew Lindesay
/andrewlindesay/le/articles/wo_errorreporting_article.pdf Regards; I have looked through all the documentation I can find, but I cannot find information on replacing the generic Web Objects Session Timeout message. I checked in WOnder as well, hoping there was some information there. What

Replacing the Session Timeout message

2009-10-17 Thread Don Lindsay
Hello; I have looked through all the documentation I can find, but I cannot find information on replacing the generic Web Objects Session Timeout message. I checked in WOnder as well, hoping there was some information there. What framework do these items live in? Is there a way to

Re: JavaClient session timeout?

2009-04-07 Thread Stamenkovic Florijan
On Mar 30, 2009, at 13:18, David Avendasora wrote: This is the approach I was thinking of. Have the client keep track of how long since the last server communication (I have no idea how to do that...) and set a timer based on the session timeout value. It's only job would be to giv

Re: JavaClient session timeout?

2009-03-31 Thread Lachlan Deck
On 31/03/2009, at 6:39 AM, Chuck Hill wrote: On Mar 30, 2009, at 12:31 PM, David Avendasora wrote: On Mar 30, 2009, at 2:31 PM, Stamenkovic Florijan wrote: OK, you can download WOJCKit here: http://web.mac.com/flor385/eSwamp/software/files/WOJCKit.zip Whaaat? No SVN accesss? Pfff. :-P

Re: JavaClient session timeout?

2009-03-30 Thread David Holt
On 30-Mar-09, at 1:38 PM, Stamenkovic Florijan wrote: On Mar 30, 2009, at 15:50, David Avendasora wrote: Flor, anyway you want to set it up is fine with me. :-) :-) :-) *any* way? How about 3.5 inch floppies shipped from Southern America to the US via Russia, by boat? :) Let's stick to .m

Re: JavaClient session timeout?

2009-03-30 Thread Pascal Robert
Le 09-03-30 à 16:48, David Avendasora a écrit : On Mar 30, 2009, at 4:38 PM, Stamenkovic Florijan wrote: On Mar 30, 2009, at 15:50, David Avendasora wrote: Flor, anyway you want to set it up is fine with me. :-) :-) :-) *any* way? How about 3.5 inch floppies shipped from Southern Ameri

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 4:38 PM, Stamenkovic Florijan wrote: On Mar 30, 2009, at 15:50, David Avendasora wrote: Flor, anyway you want to set it up is fine with me. :-) :-) :-) *any* way? How about 3.5 inch floppies shipped from Southern America to the US via Russia, by boat? :) Let's stick to

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 15:50, David Avendasora wrote: Flor, anyway you want to set it up is fine with me. :-) :-) :-) *any* way? How about 3.5 inch floppies shipped from Southern America to the US via Russia, by boat? :) Let's stick to .me for the time being, though I would like to Subversion

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 3:39 PM, Chuck Hill wrote: OK, you can download WOJCKit here: http://web.mac.com/flor385/eSwamp/software/files/WOJCKit.zip Whaaat? No SVN accesss? Pfff. :-P Be careful or he will setup a Maven repository for you! Ahhhg Good point. Flor, anyway you wa

Re: JavaClient session timeout?

2009-03-30 Thread Chuck Hill
On Mar 30, 2009, at 12:31 PM, David Avendasora wrote: On Mar 30, 2009, at 2:31 PM, Stamenkovic Florijan wrote: OK, you can download WOJCKit here: http://web.mac.com/flor385/eSwamp/software/files/WOJCKit.zip Whaaat? No SVN accesss? Pfff. :-P Be careful or he will setup a Maven repository

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 2:31 PM, Stamenkovic Florijan wrote: OK, you can download WOJCKit here: http://web.mac.com/flor385/eSwamp/software/files/WOJCKit.zip Whaaat? No SVN accesss? Pfff. :-P It's a WOLips project. Eclipse 3.4.1, appropriate stable WOLips (update say a month ago or something

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
OK, you can download WOJCKit here: http://web.mac.com/flor385/eSwamp/software/files/WOJCKit.zip It's a WOLips project. Eclipse 3.4.1, appropriate stable WOLips (update say a month ago or something). Note: this project contains both server and client side classes. Both are well documented i

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 13:18, David Avendasora wrote: This is the approach I was thinking of. Have the client keep track of how long since the last server communication (I have no idea how to do that...) and set a timer based on the session timeout value. It's only job would be to giv

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 11:16 AM, Stamenkovic Florijan wrote: On Mar 30, 2009, at 10:24, David Avendasora wrote: Yes, there is. By default I believe it is 30 minutes, or maybe 20. I'm not entirely sure. It is the same session timeout that a web client session has by default It'

Re: JavaClient session timeout?

2009-03-30 Thread John Ours
On Mar 30, 2009, at 11:16 AM, Stamenkovic Florijan wrote: I'd be happy to implement the "ping" system, and put it into WOJCKit, if somebody else has the time to test it. I am wy too busy at the moment to deal with that. Anyone interested? Certainly, I'm going to need to go down this ro

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 10:24, David Avendasora wrote: Yes, there is. By default I believe it is 30 minutes, or maybe 20. I'm not entirely sure. It is the same session timeout that a web client session has by default It's the same session mechanism, controlled with the same s

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 10:06 AM, John Huss wrote: Is there a session timeout in JavaClient? I would think there has to be. What happens when the session times out? Is there built-in notification or do you have to handle it manually? Yes, there is. By default I believe it is 30 minutes, or

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 10:06, John Huss wrote: Is there a session timeout in JavaClient? I would think there has to be. Yep, there is. What happens when the session times out? The next request from a client coming to the session gets refused, the client app is informed of why, and the

JavaClient session timeout?

2009-03-30 Thread John Huss
Is there a session timeout in JavaClient? I would think there has to be. What happens when the session times out? Is there built-in notification or do you have to handle it manually? John ___ Do not post admin requests to the list. They will be

Re: Handling Session timeout with ajax

2009-02-02 Thread Chuck Hill
On Feb 2, 2009, at 7:02 AM, Robert Tupelo-Schneck wrote: It doesn't seem to work correctly when I click an AjaxTabbedPanelTab. In that case the tab fills with something that looks like the normal WebObjects session timeout page with a bit of javascript tacked on the end; in fact,

Re: Handling Session timeout with ajax

2009-02-02 Thread Robert Tupelo-Schneck
that case the tab fills with something that looks like the normal WebObjects session timeout page with a bit of javascript tacked on the end; in fact, if I peek at redirect.contentString(), I get Missing Session Error ... document.location.href='/cgi-bin/WebObjects/WOPrefixReg.wo

Re: Handling Session timeout with ajax

2009-01-30 Thread Chuck Hill
looks like the normal WebObjects session timeout page with a bit of javascript tacked on the end; in fact, if I peek at redirect.contentString(), I get Missing Session Error ... document.location.href='/cgi-bin/WebObjects/WOPrefixReg.woa/wo/1.0'; Any idea why the

Re: Handling Session timeout with ajax

2009-01-30 Thread Robert Tupelo-Schneck
On Jan 30, 2009, at 5:03 PM, Chuck Hill wrote: On Jan 30, 2009, at 1:14 PM, Robert Tupelo-Schneck wrote: It doesn't seem to work correctly when I click an AjaxTabbedPanelTab. In that case the tab fills with something that looks like the normal WebObjects session timeout page with a b

Re: Handling Session timeout with ajax

2009-01-30 Thread Chuck Hill
case the tab fills with something that looks like the normal WebObjects session timeout page with a bit of javascript tacked on the end; in fact, if I peek at redirect.contentString(), I get Missing Session Error ... document.location.href='/cgi-bin/WebObjects/WOPrefixReg.woa/

Re: Handling Session timeout with ajax

2009-01-30 Thread Robert Tupelo-Schneck
ke the normal WebObjects session timeout page with a bit of javascript tacked on the end; in fact, if I peek at redirect.contentString(), I get Missing Session Error ... document.location.href='/cgi-bin/WebObjects/WOPrefixReg.woa/wo/1.0'; In other instances, when it works corr

Re: Handling Session timeout with ajax

2009-01-28 Thread Chuck Hill
On Jan 28, 2009, at 6:10 PM, Paul Hoadley wrote: On 29/01/2009, at 12:13 PM, Chuck Hill wrote: The fix is in. Revision 8864. Please let me know how that works. It works. SessionID in URL, errorPage displayed. Excellent. Thank you! Thanks a _lot_. (As a really quick aside, since we

Re: Handling Session timeout with ajax

2009-01-28 Thread Paul Hoadley
On 29/01/2009, at 12:13 PM, Chuck Hill wrote: The fix is in. Revision 8864. Please let me know how that works. It works. SessionID in URL, errorPage displayed. Thanks a _lot_. (As a really quick aside, since we're all here and having so much fun: how can I build just a single Wonder fra

Re: Handling Session timeout with ajax

2009-01-28 Thread Chuck Hill
On Jan 28, 2009, at 5:33 PM, Paul Hoadley wrote: On 29/01/2009, at 11:54 AM, Chuck Hill wrote: Hold on now, that is just a work around, not a solution. After this marathon, a work around is looking good to me... The question now is why ERXRedirect is not putting the session ID in the URL

Re: Handling Session timeout with ajax

2009-01-28 Thread Paul Hoadley
On 29/01/2009, at 11:54 AM, Chuck Hill wrote: Hold on now, that is just a work around, not a solution. After this marathon, a work around is looking good to me... The question now is why ERXRedirect is not putting the session ID in the URL for you And, it is a bug. I have a fix, do you

Re: Handling Session timeout with ajax

2009-01-28 Thread Chuck Hill
On Jan 28, 2009, at 5:08 PM, Paul Hoadley wrote: On 29/01/2009, at 11:13 AM, Chuck Hill wrote: Both of these still produce the same result for me: a redirect to something like AM.woa/wo/4.0, which it presumably can't find and so returns Main. I've got logging in Session.terminate(), and

Re: Handling Session timeout with ajax

2009-01-28 Thread Paul Hoadley
On 29/01/2009, at 11:13 AM, Chuck Hill wrote: Both of these still produce the same result for me: a redirect to something like AM.woa/wo/4.0, which it presumably can't find and so returns Main. I've got logging in Session.terminate(), and it's not being called. Using the second variant,

Re: Handling Session timeout with ajax

2009-01-28 Thread Chuck Hill
On Jan 28, 2009, at 3:52 PM, Paul Hoadley wrote: On 29/01/2009, at 4:08 AM, Chuck Hill wrote: Score WebObjects: 1, Chuck: 0 Score Paul: 0, because... The defect is mine. The correct code is: if (AjaxUtils.isAjaxRequest(aContext.request())) { // Create redirect to return to break

Re: Handling Session timeout with ajax

2009-01-28 Thread Paul Hoadley
On 29/01/2009, at 4:08 AM, Chuck Hill wrote: Score WebObjects: 1, Chuck: 0 Score Paul: 0, because... The defect is mine. The correct code is: if (AjaxUtils.isAjaxRequest(aContext.request())) { // Create redirect to return to break out of Ajax AjaxUtils.redirectTo(errorPage)

Re: Handling Session timeout with ajax

2009-01-28 Thread David Avendasora
But, but.. Where's the Purple Moose? I still don't see it... What? Huh? Oh. On Jan 28, 2009, at 12:38 PM, Chuck Hill wrote: On Jan 27, 2009, at 10:03 PM, Chuck Hill wrote: On Jan 27, 2009, at 8:38 PM, Paul Hoadley wrote: On 28/01/2009, at 1:40 PM, Chuck Hill wrote: If not, follow Anjo's

Re: Handling Session timeout with ajax

2009-01-28 Thread Chuck Hill
On Jan 27, 2009, at 10:03 PM, Chuck Hill wrote: On Jan 27, 2009, at 8:38 PM, Paul Hoadley wrote: On 28/01/2009, at 1:40 PM, Chuck Hill wrote: If not, follow Anjo's suggestion of overriding dispatchRequest() and logging out the response before returning it. Jan 28 13:23:08 AM[50121] WARN N

Re: Handling Session timeout with ajax

2009-01-27 Thread Paul Hoadley
On 28/01/2009, at 4:33 PM, Chuck Hill wrote: It looks like WO is not saving errorPage in the page cache when handleException is called. I thought it did, maybe this is a 5.4 change. I am going to stick this on my To Do stack for now. No problem. Thanks for looking at it, Chuck. -- Paul

Re: Handling Session timeout with ajax

2009-01-27 Thread Paul Hoadley
On 28/01/2009, at 4:05 PM, Chuck Hill wrote: On Jan 27, 2009, at 8:38 PM, Paul Hoadley wrote: I'm not using ERXRedirect directly, but in Application.handleException() I have this: @Override public WOResponse handleException(Exception anException, WOContext aContext) { AMErrorPa

Re: Handling Session timeout with ajax

2009-01-27 Thread Chuck Hill
On Jan 27, 2009, at 8:38 PM, Paul Hoadley wrote: On 28/01/2009, at 1:40 PM, Chuck Hill wrote: If not, follow Anjo's suggestion of overriding dispatchRequest() and logging out the response before returning it. Jan 28 13:23:08 AM[50121] WARN NSLog - : Exception occurred while handling

Re: Handling Session timeout with ajax

2009-01-27 Thread Chuck Hill
On Jan 27, 2009, at 9:41 PM, Anjo Krank wrote: Am 28.01.2009 um 06:23 schrieb Mike Schrag: Thanks for taking a look. I'm glad it's not just me... Honestly, I wish it was just you. ;-) This stuff makes my head hurt sometimes. I'll trade you my current set of issues :) Me too! Gladly.

Re: Handling Session timeout with ajax

2009-01-27 Thread Anjo Krank
Am 28.01.2009 um 06:23 schrieb Mike Schrag: Thanks for taking a look. I'm glad it's not just me... Honestly, I wish it was just you. ;-) This stuff makes my head hurt sometimes. I'll trade you my current set of issues :) Me too! Gladly. Cheers, Anjo

Re: Handling Session timeout with ajax

2009-01-27 Thread Chuck Hill
On Jan 27, 2009, at 8:38 PM, Paul Hoadley wrote: On 28/01/2009, at 1:40 PM, Chuck Hill wrote: If not, follow Anjo's suggestion of overriding dispatchRequest() and logging out the response before returning it. Jan 28 13:23:08 AM[50121] WARN NSLog - : Exception occurred while handling

Re: Handling Session timeout with ajax

2009-01-27 Thread Mike Schrag
Thanks for taking a look. I'm glad it's not just me... Honestly, I wish it was just you. ;-) This stuff makes my head hurt sometimes. I'll trade you my current set of issues :) ms ___ Do not post admin requests to the list. They will be ignored.

Re: Handling Session timeout with ajax

2009-01-27 Thread Chuck Hill
On Jan 27, 2009, at 9:12 PM, Paul Hoadley wrote: On 28/01/2009, at 3:37 PM, Chuck Hill wrote: How are you using that ERXRedirect again? I'm not using ERXRedirect directly, but in Application.handleException() I have this: @Override public WOResponse handleException(Exception an

Re: Handling Session timeout with ajax

2009-01-27 Thread Paul Hoadley
On 28/01/2009, at 3:37 PM, Chuck Hill wrote: How are you using that ERXRedirect again? I'm not using ERXRedirect directly, but in Application.handleException() I have this: @Override public WOResponse handleException(Exception anException, WOContext aContext) { AMErrorPage err

Re: Handling Session timeout with ajax

2009-01-27 Thread Chuck Hill
On Jan 27, 2009, at 8:38 PM, Paul Hoadley wrote: On 28/01/2009, at 1:40 PM, Chuck Hill wrote: If not, follow Anjo's suggestion of overriding dispatchRequest() and logging out the response before returning it. Jan 28 13:23:08 AM[50121] WARN NSLog - : Exception occurred while handling

Re: Handling Session timeout with ajax

2009-01-27 Thread Paul Hoadley
On 28/01/2009, at 1:40 PM, Chuck Hill wrote: If not, follow Anjo's suggestion of overriding dispatchRequest() and logging out the response before returning it. Jan 28 13:23:08 AM[50121] WARN NSLog - : Exception occurred while handling request: java.lang.NullPointerException Jan 28 13:2

Re: Handling Session timeout with ajax

2009-01-27 Thread Chuck Hill
On Jan 27, 2009, at 6:59 PM, Paul Hoadley wrote: On 28/01/2009, at 10:59 AM, Chuck Hill wrote: On Jan 27, 2009, at 4:18 PM, Paul Hoadley wrote: On 28/01/2009, at 10:08 AM, Chuck Hill wrote: On Jan 26, 2009, at 11:17 PM, Paul Hoadley wrote: On 27/01/2009, at 5:11 PM, Chuck Hill wrote: F

Re: Handling Session timeout with ajax

2009-01-27 Thread Paul Hoadley
On 28/01/2009, at 10:59 AM, Chuck Hill wrote: On Jan 27, 2009, at 4:18 PM, Paul Hoadley wrote: On 28/01/2009, at 10:08 AM, Chuck Hill wrote: On Jan 26, 2009, at 11:17 PM, Paul Hoadley wrote: On 27/01/2009, at 5:11 PM, Chuck Hill wrote: FireBug and FireFox. Take a look at the Net log. Yo

Re: Handling Session timeout with ajax

2009-01-27 Thread Chuck Hill
On Jan 27, 2009, at 4:18 PM, Paul Hoadley wrote: On 28/01/2009, at 10:08 AM, Chuck Hill wrote: On Jan 26, 2009, at 11:17 PM, Paul Hoadley wrote: On 27/01/2009, at 5:11 PM, Chuck Hill wrote: FireBug and FireFox. Take a look at the Net log. You can see all the traffic back and forth. Of

Re: Handling Session timeout with ajax

2009-01-27 Thread Paul Hoadley
On 28/01/2009, at 10:08 AM, Chuck Hill wrote: On Jan 26, 2009, at 11:17 PM, Paul Hoadley wrote: On 27/01/2009, at 5:11 PM, Chuck Hill wrote: FireBug and FireFox. Take a look at the Net log. You can see all the traffic back and forth. Often these things came in an Ajax update and so don

Re: Handling Session timeout with ajax

2009-01-27 Thread Chuck Hill
On Jan 26, 2009, at 11:17 PM, Paul Hoadley wrote: On 27/01/2009, at 5:11 PM, Chuck Hill wrote: FireBug and FireFox. Take a look at the Net log. You can see all the traffic back and forth. Often these things came in an Ajax update and so don't show up in the page source (as originally

Re: Handling Session timeout with ajax

2009-01-27 Thread Anjo Krank
One can also override dispatchRequest() and log (or use the ERXApp logger that already does this) Cheers, Anjo Am 27.01.2009 um 19:22 schrieb Mike Schrag: There is a trick and I am wondering, does anyone remember it? It is hard to search for in archives, google, etc. One can call tcpdump

Re: Handling Session timeout with ajax

2009-01-27 Thread Mike Schrag
There is a trick and I am wondering, does anyone remember it? It is hard to search for in archives, google, etc. One can call tcpdump with a set of options and see just the html of the web communications going back and forth from or to an app. Alternatively, just the HTML and HTTP traffic w

  1   2   >