PC Review


Reply
Thread Tools Rate Thread

ASP.NET ICallbackHandler - Script callbacks....

 
 
=?Utf-8?B?TWljaGFlbFk=?=
Guest
Posts: n/a
 
      21st Jan 2006
While cruising through the script files that help to implement script
callbacks in 2.0, I noticed that there is no code path to handle a return
string that doesn't match the parsing logic - it just falls through and
nothing happens.

My scenario is this: My web app session times out/application error occurs
when I make my script callback...my application 'normally' redirects users to
the login form and/or error page (HTTP 302, etc..)...but the script callback
functions (specifically, the parsing logic in WebForm_ExecuteCallback) do not
handle any thing other than expected results (looking only for the 's' or 'e'
prefixes), nor do they check the response codes explicitly. This was easy
when using the objects 'by hand', but....

Is there a workaround for this in 2.0 callbacks (other than using my own
libraries), and has this been addressed in Atlas????

TIA,
Mike
 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      22nd Jan 2006
Atlas addresses most of these issues. If you are looking for a Remote
Scripting ("AJAX") infrastructure that is lightweight and well - thought out,
to handlle this kind of requirement in the meantime, and works with both
ASP.NET 1.1 and 2.0, take a look at Jason Diamond's "Anthem.Net" which can be
found at Sourceforge.net
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"MichaelY" wrote:

> While cruising through the script files that help to implement script
> callbacks in 2.0, I noticed that there is no code path to handle a return
> string that doesn't match the parsing logic - it just falls through and
> nothing happens.
>
> My scenario is this: My web app session times out/application error occurs
> when I make my script callback...my application 'normally' redirects users to
> the login form and/or error page (HTTP 302, etc..)...but the script callback
> functions (specifically, the parsing logic in WebForm_ExecuteCallback) do not
> handle any thing other than expected results (looking only for the 's' or 'e'
> prefixes), nor do they check the response codes explicitly. This was easy
> when using the objects 'by hand', but....
>
> Is there a workaround for this in 2.0 callbacks (other than using my own
> libraries), and has this been addressed in Atlas????
>
> TIA,
> Mike

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BUG: Script blocking strips script parameters during script authorization Jonathan K. Shay Spyware Announcements 3 2nd May 2005 06:18 PM
Script debugger shows no script John Dalberg Windows XP Internet Explorer 15 3rd Apr 2005 03:43 AM
Windows Script host-Cannoot find script file =?Utf-8?B?U2FteWV1bmc=?= Windows XP General 6 26th Jan 2005 08:47 AM
What are the differneces between Debug script a and debug script b =?Utf-8?B?SU5UMjFI?= Windows XP General 0 3rd Aug 2004 02:45 PM
Script corruption not detected with script debugging =?Utf-8?B?TUNDTUQ=?= Windows XP General 1 5th Apr 2004 01:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:55 AM.