website exists?

Discussion in 'ASP .Net' started by ichor, Jul 14, 2005.

  1. ichor

    ichor Guest

    hi how do i check programatically if a website exists?
    ichor, Jul 14, 2005
    #1
    1. Advertising

  2. Steve C. Orr [MVP, MCSD], Jul 14, 2005
    #2
    1. Advertising

  3. ichor

    ichor Guest

    thanks. i just realised i need to do this in asp not asp.net.

    "Steve C. Orr [MVP, MCSD]" <> wrote in message
    news:...
    > You could request a page from the web site and see if the page is returned
    > or if an error is raised instead.
    > Use the WebRequest object to do this.
    > Here's more info:
    > http://msdn.microsoft.com/library/d...f/html/frlrfsystemnetwebrequestclasstopic.asp
    >
    > --
    > I hope this helps,
    > Steve C. Orr, MCSD, MVP
    > http://SteveOrr.net
    >
    >
    > "ichor" <> wrote in message
    > news:OPJnR$...
    >> hi how do i check programatically if a website exists?
    >>

    >
    >
    ichor, Jul 14, 2005
    #3
  4. use the httpxml componenet then

    http://www.4guysfromrolla.com/webtech/102401-1.shtml
    --
    Regards

    John Timney
    ASP.NET MVP
    Microsoft Regional Director

    "ichor" <> wrote in message
    news:...
    > thanks. i just realised i need to do this in asp not asp.net.
    >
    > "Steve C. Orr [MVP, MCSD]" <> wrote in message
    > news:...
    >> You could request a page from the web site and see if the page is
    >> returned or if an error is raised instead.
    >> Use the WebRequest object to do this.
    >> Here's more info:
    >> http://msdn.microsoft.com/library/d...f/html/frlrfsystemnetwebrequestclasstopic.asp
    >>
    >> --
    >> I hope this helps,
    >> Steve C. Orr, MCSD, MVP
    >> http://SteveOrr.net
    >>
    >>
    >> "ichor" <> wrote in message
    >> news:OPJnR$...
    >>> hi how do i check programatically if a website exists?
    >>>

    >>
    >>

    >
    >
    John Timney \(ASP.NET MVP\), Jul 14, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Flip
    Replies:
    1
    Views:
    423
    Karl Seguin
    Nov 22, 2005
  2. Shawn

    Website on a website.

    Shawn, Jan 15, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    470
    Shawn
    Jan 15, 2006
  3. sck10
    Replies:
    1
    Views:
    405
    Michael Kolias
    Apr 13, 2006
  4. Totan
    Replies:
    0
    Views:
    899
    Totan
    Apr 17, 2006
  5. Ulf Meinhardt
    Replies:
    8
    Views:
    6,090
Loading...

Share This Page