Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Possablity of Dynamic Include in ASP!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Possablity of Dynamic Include in ASP!

 Post Reply Post Reply Page  <12
Author
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2004 at 4:53pm
it will do it if you reload the page after the include file is written..

but you can't use the same file for all users, as all users would then get the same include, and what is then the reason for using dynamic includes? you coul duse unique user IDs in the filenames, but then you will need dynamic includes to include the file with the dynamic included file, which means you would get an infinite loop of your script
Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2004 at 4:55pm
I'm quite sure there will never be a good solution for this problem in ASP, unless someone writes a component for it, but that may not be a good solution either
Back to Top
neotrix View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 09 November 2003
Location: Pakistan
Status: Offline
Points: 433
Post Options Post Options   Thanks (0) Thanks(0)   Quote neotrix Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2004 at 6:15pm

Originally posted by Semikolon Semikolon wrote:

it will do it if you reload the page after the include file is written..

but you can't use the same file for all users, as all users would then get the same include, and what is then the reason for using dynamic includes? you coul duse unique user IDs in the filenames, but then you will need dynamic includes to include the file with the dynamic included file, which means you would get an infinite loop of your script

the creation of a file/ and then the reloading of the page (using Response.REdirect) will hardly take 2 seconds, of if you elongate it.. say 5 seconds.... which site will have enuf traffic in wich more tha 1 guy is visiting his page at the rate of users/second ?? I can't think of any one....

so that's not a point

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2004 at 6:54am
if you take for example this forum, forum_posts.asp, don't you think it has more than one execution per second?
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2004 at 7:20am
Face it, if your site takes too long to load visitors just won't bother. And we are talking seconds too long so an extra 2 seconds is worse than you think
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2004 at 5:31pm
dynamic includes again !! (loads desert eagle, points at head, fires)
Back to Top
 Post Reply Post Reply Page  <12

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.