I would like to be able to perform a simple call to the server just to get some information. The simplest example of this is that I would like to issue a call from the client like this:
myBoolVar = serverIsThereNewDataForMe(MyID);
or
myStringVar = serverWhatIsYouFavoriteColor();
I specifically want to be able to ask the server for some simple data without having to incur the overhead of the normal Ajax call where the entire page script is run. The reason for this is I might be making a call back to the server every second or two and I'd like to optimize this to be as simple as possible with as little network traffic as possible.
Thanks.
myBoolVar = serverIsThereNewDataForMe(MyID);
or
myStringVar = serverWhatIsYouFavoriteColor();
I specifically want to be able to ask the server for some simple data without having to incur the overhead of the normal Ajax call where the entire page script is run. The reason for this is I might be making a call back to the server every second or two and I'd like to optimize this to be as simple as possible with as little network traffic as possible.
Thanks.