Print Page | Close Window

More Than One App On One Page

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=861
Printed Date: 28 March 2026 at 9:10pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: More Than One App On One Page
Posted By: Dazz
Subject: More Than One App On One Page
Date Posted: 09 March 2003 at 9:54am

How do i put the guestbook and weekly poll on the same page without recieving errors?

Any Help Would Be Greatly Appreciated

Dazz




Replies:
Posted By: fernan82
Date Posted: 09 March 2003 at 10:02am
Read the weekly poll documentation, it tells you how to do it.


Posted By: Dazz
Date Posted: 09 March 2003 at 10:10am
No it doesnt


Posted By: faubo
Date Posted: 09 March 2003 at 10:15am

you have to choose one of the apps and rename the variables,

like strcon, adocon etc...

both have the same variables, so it mess up the logic of the server if you put them in the same page.

Remember that you need to change the names of the variables of the to-be-modified app in all pages.

If you have dreamweaver, put all the pages in a folder and search-substitute the variables in that folder, this way you have to do it only once per app.

and don't forget to make back-ups before anything.



-------------
http://www.conhecerparaconservar.org - I don't know how to make you click here


Posted By: fernan82
Date Posted: 09 March 2003 at 3:36pm
No you don't if you use <% server.execute "weekly_poll.inc" %> to include it as the documentation says you don't have to rename the variables.......i have them like that on my site and i didn't renamed the variables....


Posted By: faubo
Date Posted: 09 March 2003 at 11:33pm

hmmm, interesting, how do you use that?

Not that will make much difference now but... always good to learn something new.



-------------
http://www.conhecerparaconservar.org - I don't know how to make you click here


Posted By: fernan82
Date Posted: 10 March 2003 at 4:16pm

Just like the include but it has to be inside <% %> tags and you can start the virtual path with / to start from the root instead of having to use ../../etc as with the include...and you don't have to re-define the variables.... that's how the weekly poll documentation tells you to do it i'm pretty sure...

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net