Rank: Advanced Member Groups: Member
Joined: 1/16/2009 Posts: 43
|
Greetings,
I have some code that when my session times out I want to redirect or server.transfer to my page which states that "You have been logged out due to 30 minutes of inactivity" which works when I click any of my postbacks, however when the postback involves a call back panel I get the following message below:
"EO. Web Controls Client Side Debug Message
EO. Web control 'Callbackpanel6' error message: The callback on 'CallbackPanel6' has failed because the server did not recognize this callback and processed it as a normal request. This can occur if there are multiple Callback/CallbackPanel controls in the page, and this Callback/CallbackPanel control was initially dynamically loaded but wasn't loaded for this callback.
This can also occur if Response.Redirect has been called the server side, either implicitly or explicitly (usually due to user log in times out). In this case please add EO.Web.Runtime as an HttpModule in your web.config.
You can turn off this message by seeting EO.Web.Runtime.DebugLevel to 0"
Please note that I do have the Httpmodule syntax in my web.config .. Please help with this.
Thank you in advance!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Try to use Response.Redirect instead of Server.Transfer. I believe CallbackPanel can handle Response.Redirect correctly. It can not handle Server.Transfer correctly because it didn't go back to the client side first.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 1/16/2009 Posts: 43
|
Thought I had tried that but I guess I didn't...Response.Redirect works fine...
Thank you!!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Thanks for the update!
|