Home | Advertising Info33 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, August 28, 2015  

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.

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds

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


Subject: Problems with Dyamic Includes
From: Daniel Engelman
Date: 7/8/2003 2:51:54 PM


hi all!

i'm using a function like this:

Function IncludeFile(strFileName)

Dim objFileSys
Dim objTextString

Set objFileSys = Server.CreateObject("Scripting.FileSystemObject")
Set objTextString = objFileSys.OpenTextFile(Server.MapPath(strFileName))

IncludeFile = objTextString.ReadAll

Set objTextString = Nothing
Set objFileSys = Nothing

End Function

and i call it like this:

response.write IncludeFile(FileName)

the problem is that the called file cannot read session values...

for example: if it reads:

"response.write IncludeFile("Profiles/Admins/000.asp")"

the 000.asp cannot read the session variables...

does anyone have a clue?
thanks in advance!

Daniel Engelman.

Follow Up - Re: Problems with Dyamic Includes - Si 7/17/2003 3:00:12 PM


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2015 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.

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.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