Please Help!! Please
-
Hey Guys, this I need to do hopefully you guys can help. I just need an application or service to browse to a certain page every five minutes. In my case it will be an asp page. Once the services browses to the page it just needs to close the and the asp page takes it from there and starts producing a grid. For instance when it connects properly the grid will show some green, but say the service gets stopped or the computer or server goes down then the grid will start showing red. I hope that all made sense, if not just let me know and i will try to give some more info. I am just hoping someone can help. Thanks, Travis
-
Hey Guys, this I need to do hopefully you guys can help. I just need an application or service to browse to a certain page every five minutes. In my case it will be an asp page. Once the services browses to the page it just needs to close the and the asp page takes it from there and starts producing a grid. For instance when it connects properly the grid will show some green, but say the service gets stopped or the computer or server goes down then the grid will start showing red. I hope that all made sense, if not just let me know and i will try to give some more info. I am just hoping someone can help. Thanks, Travis
You can use WebRequest class in System.Net to browse a web page. Pass a querystring that is unique to your calling application. When you execute WebRequest.GetResponse(), you can be sure that the application is trying to connect to the web page. In the ASP page, check from the querystring if the connection request is from your calling application, if yes, do your color thing. SG
-
You can use WebRequest class in System.Net to browse a web page. Pass a querystring that is unique to your calling application. When you execute WebRequest.GetResponse(), you can be sure that the application is trying to connect to the web page. In the ASP page, check from the querystring if the connection request is from your calling application, if yes, do your color thing. SG