Hi,
I'm working on detected Expired Session during the Async Post back of WRAP.
In usual manner i redirect the response to another page e.g ExpiredSession.aspx. this stops the execution of previous page. but in case of Async Postback of WARP i cant redirect and even i cant stop the processing of current Page's response.
i digged into WRAP and CallbackManager and found that we can use CallbackManager.AddScriptBlock to redirect using Javascript. but how to stop the processing of current page response..... No Ideas.
If somebody has done anything about it i always like such people
Thanks
Sorry I can't help as I have exactly the same problem....
If I figure it out I will post reply here.
Well this is not the cleanest solution in the world, but it is working until I find a better way.
If the session has expired, I call Response.End during the async postback, this causes the warp to generate an error, and I handle that error using javascript ClientSideEvents.Error handler. I show the error details in an alert box (for my own debugging purposes in case it was not a session timeout that cause the error) and then I redirect the page using window.location.