Calling web page from Global.asax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nitinp
    New Member
    • Aug 2006
    • 8

    Calling web page from Global.asax

    Hi,
    I have a Global.asax file in which a function calls a my_method at given time interval. In this method I want to open a web page, how can I do this?

    My code is like this:

    void Aplication_Star t(object sender,EventArg s e)
    {
    ....
    my_method();
    }

    public static void my_method()
    {
    //Here I want to write code for calling web page.
    }

    Pls tell if any idea.
    Thanks
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Not a good idea using application_sta rt which will only run for the first user and occasional reboots of the server. If its time you are worried about use a web service or a timer. HTH.

    Comment

    Working...