Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 multiple inc_header.asp, inc_header_b.asp...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

prescottw
Junior Member

189 Posts

Posted - 05 December 2005 :  15:15:27  Show Profile  Send prescottw a Yahoo! Message
Hello!

I've run into a situation where I'm using a multiple inc_header idea. This way I can change the look and feel of a page...width, banner rotator, color... etc.

Is there any draw back to my (probably not original) thought of using this way of address.

Any input would be greatly appreciated.
Thanks for reading this,

-prescottw

What day is it anyway?

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 05 December 2005 :  16:20:30  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
As long as you make sure you include all the code in every one of the files I don't see a problem with it. It gets complicated when you have to edit your inc_header though.

eXtremeGossip
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 05 December 2005 :  20:04:45  Show Profile  Send prescottw a Yahoo! Message
Thank you for that response Jorrit787.

I sometimes wonder if I make the changes corrrectly, I take code out because I don't use it. menu for example I use a js. log-in same thing. Added a js for a different menu. Can this effect the site when the site is busy? Or can I safely say if it works now will it keep on working. Or will one day I go to the site and ...poof... gone.

Thanks,

-prescottw

What day is it anyway?
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 05 December 2005 :  20:53:00  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
If it works now I don't see why wouldn't in the future, unless your custom login for example is extremely resource-intensive, things like that could cause problems when your site gets busier.

eXtremeGossip
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 05 December 2005 :  21:00:30  Show Profile  Send prescottw a Yahoo! Message
Resource sensitive... meaning if someone logs out... they stay logged in or trying to log in and you keep getting the log-in screen?

Thank you for the lesson Jorrit787 I am appreciating this very much.

-prescottw

What day is it anyway?
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 05 December 2005 :  21:23:05  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
Resource intensive, meaning that if your custom scripts involve lots of calls to the database it might slow things down

eXtremeGossip
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 05 December 2005 :  21:35:38  Show Profile  Send prescottw a Yahoo! Message
Blue did it. Ok I understand. Thank you for the info. I'm never disappointed with the responses I get on Snitz!

Jorrit787, thank you.

-prescottw

What day is it anyway?
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 05 December 2005 :  22:18:40  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
You're welcome If you do start having trouble I suppose you can always post your scripts here and get a review.

eXtremeGossip
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 06 December 2005 :  06:40:04  Show Profile
A better method would be to place all common code from your inc_header files into a single, seperate include and only use your custom headers to hold that code that differs across templates.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 06 December 2005 :  06:49:36  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Bah, you beat me to it Shaggy =)

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 09 December 2005 :  22:57:43  Show Profile  Send prescottw a Yahoo! Message
Wow...I think that I can do this. Makes sense. Even change levels per include.

Shaggy, tribaliztic, thank you.

-prescottw

What day is it anyway?
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 12 December 2005 :  06:38:23  Show Profile
You're welcome


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.79 seconds. Powered By: Snitz Forums 2000 Version 3.4.07