| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Virtual Includes Coupled With id query string case functions
hay all,
my code looks like this: Code:
<%
Select Case CInt(Request.QueryString("id"))
Case 1
<!-- #include virtual="includetest.asp" -->
Case 2
Response.Redirect("2.asp")
Case 3
Response.Redirect("3.asp")
'If not id is specified then
Case Else
Response.Redirect("noid.asp")
End Select
%>
but it doesnt display the file upon id?=1, any ideas? thanx, commekid |
|
#2
|
||||
|
||||
|
Include files are process before any of the asp code. Try using Server.Execute instead.
|
|
#3
|
|||
|
|||
|
wow thanx memnoch that helped alot, great forum, great help
![]() |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > Virtual Includes Coupled With id query string case functions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|