Click to See Complete Forum and Search --> : get dynamic web page contents ?


azbuz
04-16-2007, 03:07 AM
I use this code for get dynamic web page contents ...

<%@ Page aspcompat=true %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>


<%
Response.Buffer = True
Dim xml
xml = Nothing
xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open("GET", "http://www.livescores.net/LiveScore.do?state=promptSoccerLiveScore&gameDate=2007-04-13", False)
xml.Send
Response.Write (xml.responseText)
xml = Nothing
'%>
</body>
</html>

this code bring updated contents when running on my pc but when I try run on server(hosting server) it brings old content..... What is solution ?