Home | Advertising Info519 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, May 25, 2018  

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


We didn't realize
the site was so popular.

Other Stuff

Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds

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


Subject: Including files in ASP
From: Jags V.M.
Date: 2/23/1999 3:19:55 PM


Hello...to all...

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

<!--#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/'

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.

- Jags...


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2018 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 ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET 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