Actually the string doesn't exist as a variable at all. The actual string is
returned from the client side function, no session variables. I just tried
it again and it let me click the link about 10 times usually returning
"Hello world" but twice returning "null" and then finally stopped responding
to mouse clicks. The code I am using is below. Thanks.

Here is the code from the aspx page

<script type="text/javascript" defer="defer">
        function Hello_CallBack(response)
        {
            alert(response.value);
        }
</script> 

<a href="javascript:void(0);"
onclick="_default.Hello(Hello_CallBack);">click it</a>  


Here is the code from the code behind...
[AjaxPro.AjaxMethod()]
public string Hello()
{
    return "Hello world";
}

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Cory
Sent: Wednesday, April 05, 2006 10:25 AM
To: Ajax.NET Professional
Subject: [ajaxpro] Re: Simple problem?


Is the "Hello World" string set in a application or session variable?






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to