|
-
Jun 12th, 2006, 02:59 PM
#1
Thread Starter
Hyperactive Member
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.
-
Jun 12th, 2006, 04:49 PM
#2
Re: Request.ServerVariables("Path_Info") (Resolved)
Other. I am not sure how you arrived at VHP.
-
Jun 13th, 2006, 09:43 AM
#3
Thread Starter
Hyperactive Member
Re: Request.ServerVariables("Path_Info") (Resolved)
what is the value of arrayPath(2) ?
-
Jun 13th, 2006, 04:02 PM
#4
PowerPoster
Re: Request.ServerVariables("Path_Info")
0=http:
1=
2=www.sitename.com
3=portals
4=vhp
5=member
6=
-
Jun 16th, 2006, 03:06 PM
#5
Re: Request.ServerVariables("Path_Info")
What is your question? If you want VHP, use 4.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|