Click here to Skip to main content
16,015,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi in a project we have a webpage with a timer in it.the timer every 1 minute checkes the recieved sms es.the page is working well until the browser is opened.

i want ,the host(our server)automatically run the page and run the timer every1 minutes.
i dont know how can i do this?
Posted

1 solution

There is no such thing as "run the page". You can only load the page, collect it content and process it the way you want. This is something related to "Web scraping".

Basically, you need to use the classes System.Net.WebRequest and System.Net.WebResponse, please see:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx[^],
http://msdn.microsoft.com/en-us/library/system.net.httpwebresponse.aspx[^].

For further detail, read my past solutions on this topic:
get specific data from web page[^],
How to get the data from another site[^].

I think I explained it all in sufficient detail.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900