Re: Handling Session timeout with ajax
Re: Handling Session timeout with ajax
- Subject: Re: Handling Session timeout with ajax
- From: Paul Hoadley <email@hidden>
- Date: Wed, 28 Jan 2009 10:48:36 +1030
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't show up in the page source (as originally
loaded). Look at the response content in FireBug and you should
be able to find it.
Sorry Chuck, I'm obviously having a slow afternoon (and it's 41ÂșC
here)
It is snowing here. I am willing to trade.
---I assume you mean to look using the Net log on the page where
I'm generating the Exception, but _after_ the exception has been
thrown, right? I don't get the chance, as the app responds to the
request, returning the login page, and the inspector is updated.
Am I looking in the right place?
Yes, almost. What I would do is go to this before you trigger the
exception and hit Clear. Then trigger the exception, and see what
show up.
When I trigger the exception (by using an AjaxUpdateLink, and I
suspect this is the problem), I assume the errant request is coming
from some JS executed due to the onclick attribute. In which case, I
can't seem to catch it with Firebug. I trigger the exception, and the
next thing that happens is I'm back at Main. By then it's too late,
all Firebug shows is the errant request itself, and the rest of the
requests/responses to render Main.
--
Paul.
w http://logicsquad.net/
h http://paul.hoadley.name/
_______________________________________________
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