A
anthonykallay
Hi there,
I am building a website for a group that has 4 companies under it. The
sites are fairly similar so i want to be able to use the same set of
code in the App_Code folder.. I also want to share controls between
the sites. What i am after is a bit of advice as to best practice to
achieve this. Obviously this seems to be a good use of themes so i
will do this to use diffrerent colours where appropriate.. My main
concern is how to differentiate between the sites on any page load so
the correct logo and theme is used.
1) What variable is best to store the current site id in so that it
can be accessed by all pages??
2) Is there a way that all sites can appear to be at the root of the
folder, one method i thought as to have the main page redirect to a
folder in the main app (ie www.website1.co.uk would redirect to root/
website1/) but i dont really want this to happen, is there a way to
mask this folder so it appears that the website1 folder is at the root
of the address bar would i use reg ex for this??
Sorry if this sounds confuing but any advice would be greatlty
appreciated
Anthony
I am building a website for a group that has 4 companies under it. The
sites are fairly similar so i want to be able to use the same set of
code in the App_Code folder.. I also want to share controls between
the sites. What i am after is a bit of advice as to best practice to
achieve this. Obviously this seems to be a good use of themes so i
will do this to use diffrerent colours where appropriate.. My main
concern is how to differentiate between the sites on any page load so
the correct logo and theme is used.
1) What variable is best to store the current site id in so that it
can be accessed by all pages??
2) Is there a way that all sites can appear to be at the root of the
folder, one method i thought as to have the main page redirect to a
folder in the main app (ie www.website1.co.uk would redirect to root/
website1/) but i dont really want this to happen, is there a way to
mask this folder so it appears that the website1 folder is at the root
of the address bar would i use reg ex for this??
Sorry if this sounds confuing but any advice would be greatlty
appreciated
Anthony