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...
Re: Request.ServerVariables("Path_Info") (Resolved)
Other. I am not sure how you arrived at VHP.
Re: Request.ServerVariables("Path_Info") (Resolved)
what is the value of arrayPath(2) ?
Re: Request.ServerVariables("Path_Info")
0=http:
1=
2=www.sitename.com
3=portals
4=vhp
5=member
6=
Re: Request.ServerVariables("Path_Info")
What is your question? If you want VHP, use 4.