Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Dynamic Incude
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dynamic Incude

 Post Reply Post Reply Page  <123
Author
Sxar View Drop Down
Newbie
Newbie
Avatar

Joined: 25 December 2003
Location: Australia
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sxar Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2004 at 2:51am

So is there anyway to Dynamically Include a File in ASP, That does include Constants Variables ect. As i read above that Server.Execute doesnt work!

Please Help?

Back to Top
Phat View Drop Down
Senior Member
Senior Member


Joined: 23 February 2003
Status: Offline
Points: 386
Post Options Post Options   Thanks (0) Thanks(0)   Quote Phat Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2004 at 3:29am
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2004 at 9:08am

A page called through server.execute has access to the Request object. Cookies, Application and Session variables, and any Form/Querystring variables passed to the page that contains the server.execute code is available to the called page.

I'd use session variable to pass info instead of the fso. The problem with writing variables to a specific file (not counting the file creation/io/deletion overhead) is that it can fall apart when you get multiple users with different variables writing to the same file. A session variable at least unique to a specific user.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
Sxar View Drop Down
Newbie
Newbie
Avatar

Joined: 25 December 2003
Location: Australia
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sxar Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2004 at 9:50am

Thanks Phat

That website worked just the treat just what i wanted thanks again!

Back to Top
 Post Reply Post Reply Page  <123

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.