Use ajaxSuccess for that: $().ajaxSuccess(event, xhr, settings) { // update session timeout }
Mike On 7/27/07, oscar esp <[EMAIL PROTECTED]> wrote: > > I need to control the expiration time session in order to warning the > user. > I am using settimeout method. In order to update the settimeout I need > to call a method each time that Ajax call has success. I have a lot of > Ajax calls... > > I would like execute by default the update timeout for every Ajax > call. > > Is there any way to do it using ajaxsetup? Or ... Are there any palace > into jquery code where I could add this call? > >