Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2005

Tip: Looking for answers? Try searching our database.

Call page from function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
logologo - 30 Apr 2005 12:56 GMT
Hi, I'm trying to use the web timer to schedule a call to an asp page. In
practice, I want the server calls an asp page that makes several jobs. The
timer works fine, but I don't know how to call a page from a function.

This is part of the code I'm using:

*****************************
public void OnTimedEvent(object source, ElapsedEventArgs e)
{

//operazioni varie da eseguire

//HERE THE CALL TO THE ASP PAGE

//db ecc

//riimposto il timer per portarlo avanti di n ore
When=When.AddHours(Every);

//riprendo l'intervallo cos prendo in considerazione il tempo di
elaborazione passato
//con il tempo potrebbe sballare
OpTimer.Interval=GetInterval();
OpTimer.Start();

}
*********************************

Thank you
Brock Allen - 30 Apr 2005 14:14 GMT
Look into the HttpWebRequest and HttpWebResponse classes in the System.Net
namespace.

-Brock
DevelopMentor
http://staff.develop.com/ballen

> Hi, I'm trying to use the web timer to schedule a call to an asp page.
> In practice, I want the server calls an asp page that makes several
[quoted text clipped - 22 lines]
> *********************************
> Thank you

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.