Home | Advertising Info58 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Is there no one who can answer this?
From: Jags V.M.
Date: 3/3/1999 12:52:37 PM
IP: 202.54.41.232



 

Hello...to all...

SENCOND TIME I M SENDING THIS MESSAGE......
BUT THERE IS NO REPLY YET........


I m trying to include one file (which has common code) to all my ASP files.
I m able to do this thing using following one line at the top of all my ASP
files.

<!--#INCLUDE VIRTUAL="/webShadow/queries/common.inc"-->

But when all these ASP files are being used at some other place it's become
neccessary for them to keep virtual directory name as '/webShadow/Queries/'
only.

If virtual directory name is other than '/webShadow/Queries/' then either
all my ASP files would not work or it's required to change the above line
of code by replacing the name of virtual directory.
As I want to avoid each time changing all (around 190) ASP files can anyone
tell me some generalized way of including a file in ASP file?

I tried storing the path of my include file (here 'common.inc') in
Application variable but it's not working.

Can anyone tell me the right way of doing this thing?

Awaiting for SOOOOOOOOOOOOOOOON reply...

Thanks in advance.
Regards,

- Jags...



Follow Up - Re: Is there no one who can answer this? - Chris Williams 3/3/1999 1:20:13 PM

Follow Up - Re: Is there no one who can answer this? - Pete 3/4/1999 4:41:43 AM

Follow Up - Re: Is there no one who can answer this? - Paul 3/5/1999 7:55:02 AM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com