There is probably a better name that Server-Side Ajax. its cool to be able to do this.
dim objSrvHTTP
Set objSrvHTTP = Server.CreateObject ("Msxml2.ServerXMLHTTP.3.0")
call objSrvHTTP.open ("GET","http://www.govwaudi.com", false)
call objSrvHTTP.send ()
Response.Write (objSrvHTTP.responseText)
dim objSrvHTTP
Set objSrvHTTP = Server.CreateObject ("Msxml2.ServerXMLHTTP.3.0")
call objSrvHTTP.open ("POST","http://www.example.com/test.asp?algo=1", false)
call objSrvHTTP.setRequestHeader("Content-type", "application/x-www-form-urlencoded")
call objSrvHTTP.send ("variablename=value")
dim answer
answer = objSrvHTTP.responseText
Is there an easy way to do this in php?
Showing posts with label Ajax. Show all posts
Showing posts with label Ajax. Show all posts
Wednesday, March 19, 2008
Tuesday, January 15, 2008
Thursday, January 10, 2008
Comet with script tag
not just an iframe, not just the XMLHTTPRequest object... think of the possibilities.
Monday, January 7, 2008
Comet
Comet is cool too.
There may be better more professional words for it. I think comet is the best one because it gives it a name and lets us know that it has to do with Ajax.
The idea behind comet is reverse Ajax. Letting the server communicate with the client.
A sort of way to look at it is in Ajax the client initiates the the communication when it wants something. In Comet, the server initiates the communication.
There may be better more professional words for it. I think comet is the best one because it gives it a name and lets us know that it has to do with Ajax.
The idea behind comet is reverse Ajax. Letting the server communicate with the client.
A sort of way to look at it is in Ajax the client initiates the the communication when it wants something. In Comet, the server initiates the communication.
Ajax
Ajax is so cool.
I have liked it for a while.
I think how I got into it was when I wanted to make a web application where the user sent an email, but the page didn't have to refresh. I searched about how to do that and I discovered Ajax.
The idea is communicate with the server without having to refresh the page
I have liked it for a while.
I think how I got into it was when I wanted to make a web application where the user sent an email, but the page didn't have to refresh. I searched about how to do that and I discovered Ajax.
The idea is communicate with the server without having to refresh the page
Friday, January 4, 2008
Ajax Online Chat
I am using Bluehost as my web hosting company. I am making an online chat using ajax (XMLHTTPRequest object). I ran into some trouble because I was exceeding the CPU limit. Probably because every half a second or so it checks for new messages. Right now I have many "chat" windows open to test to see if it will do it again. Hopefully not.
For the chat I am using the polling technique, which may not be the best but it works.
It would be cool to learn "Comet." Comet might be a dorky name but I think its good to have something simple to call it.
Exceeded CPU again!
For the chat I am using the polling technique, which may not be the best but it works.
It would be cool to learn "Comet." Comet might be a dorky name but I think its good to have something simple to call it.
Exceeded CPU again!
Subscribe to:
Posts (Atom)