|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have the following line in 'footer.asp'.
<!--#include file="hit_counter.asp?Mode=Text"--> I get the following error: Active Server Pages error 'ASP 0126' Include file not found footer.asp, line 6 The include file 'ga_hit_counter.asp?Mode=Text' was not found. But if I use this: <!--#include file="hit_counter.asp"--> All is good. Doesn't the "include file" bit like "?Mode=Text". So how do you get around that? |
|
#2
|
|||
|
|||
|
You can't specify query string values for include pages, so you need to make seperate pages that call up the page you need. the seperate pages can call the funciton you're after or just redirect to the page that you need to include.
|
|
#3
|
|||
|
|||
|
Better tell..
Last edited by Nigorr : April 16th, 2002 at 11:12 PM. |
|
#4
|
|||
|
|||
|
If you are trying to pass arguments to an include file, you might set a variable before the include statement.
Ex: strMode="TEXT" <!-- Include.... ....--> and then in the include file request the value of the variable. Ex: IF strMode = "TEXT" THEN....etc |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > What gives?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|