DWR 3.0 setTextHtmlHandler in WAS8.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

DWR 3.0 setTextHtmlHandler in WAS8.0

sepuri_rama
DWR3.0 setTextHtmlHandleris not working in WAS8.0 but it is working fine in WAS6.0 i.e when session expries setTextHtmlHandler is able to catch expiry and redirect to login page but in WAS8.0 it is not able to catch session expiry.

Is it the problem of session expiry in WAS8.0 server. If so how to make session expiry detect in WAS8.0 server for DWR calls.

code below

dwr.engine.setTextHtmlHandler(function() {
                     alert("session expired, please login again..");
                     document.location = "/login.html";
                   
                  });
Reply | Threaded
Open this post in threaded view
|

Re: DWR 3.0 setTextHtmlHandler in WAS8.0

sepuri_rama
This post has NOT been accepted by the mailing list yet.
Reply | Threaded
Open this post in threaded view
|

Re: DWR 3.0 setTextHtmlHandler in WAS8.0

david@butterdev.com
In reply to this post by sepuri_rama
Why are you posting this to the dev list?  Please read our support page and submit your request to the appropriate list.  Before you do so, I would recommend placing a breakpoint in engine.js and see why the textHtmlHandler is not being called, and provide your findings in your next post to the proper list (Users not Dev).

http://directwebremoting.org/dwr/support/index.html




On Thu, Jan 3, 2013 at 6:06 AM, sepuri_rama <[hidden email]> wrote:
DWR3.0 setTextHtmlHandleris not working in WAS8.0 but it is working fine in
WAS6.0 i.e when session expries setTextHtmlHandler is able to catch expiry
and redirect to login page but in WAS8.0 it is not able to catch session
expiry.

Is it the problem of session expiry in WAS8.0 server. If so how to make
session expiry detect in WAS8.0 server for DWR calls.

code below

dwr.engine.setTextHtmlHandler(function() {
                     alert("session expired, please login again..");
                     document.location = "/login.html";

                  });



--
View this message in context: http://dwr.2114559.n2.nabble.com/DWR-3-0-setTextHtmlHandler-in-WAS8-0-tp7580314.html
Sent from the DWR - Dev mailing list archive at Nabble.com.