Results 1 to 3 of 3

Thread: simple uri question

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Norwich, UK
    Posts
    405

    simple uri question

    i have a number of sites that point to the same ip.

    they will all come into default.aspx

    how do i determine what url they came in on?

    there are a lot of properties of the request object, but which one will get the url they came in on?

    thanks in advance

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: simple uri question

    You want the Referer object/variable. I don't know what you're doing though, because it doesn't seem to be VB.NET

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Norwich, UK
    Posts
    405

    Re: simple uri question (REOLVED)

    i ended up using

    Code:
    Request.Url.Host.ToLower
    basically i wanted an .aspx page that sat at the root of my website as the default document. and analysed the urls of incoming requests. then booting them off to a specific vd depending upon that url.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width