Results 1 to 5 of 5

Thread: Request.ServerVariables("Path_Info")

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Location
    Austin
    Posts
    397

    Request.ServerVariables("Path_Info")

    http://www.sitename.com/portals/vhp/member/

    Code:
    strVirtualPath = Request.ServerVariables("Path_Info")
    arrayPath=split(strVirtualPath,"/")
    
    If UCase(arrayPath(2)) = "VHP" Then
    	portalName = "vhp"
    Else
    	portalName = "other"
    End If
    Given the code above what would portalName be set to?

    *** i thought it was VHP...
    Last edited by texas; Jun 13th, 2006 at 09:43 AM.

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