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

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Im not sure how to title this.....
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 02 October 2003 :  04:54:48  Show Profile  Visit HuwR's Homepage
I can think of a couple of ways of doing it, but it would involve either an isapi dll or a custom webserver.
Go to Top of Page

botNET
Starting Member

33 Posts

Posted - 02 October 2003 :  06:42:13  Show Profile
Let me see if I understand Your problem.

Both the sites run on the same server-site in the same applicaton? Just different domain-names (can be set in the host-header).

The easiest way of solving Your problem is to save all domain-names into a db-table and have that UniqueID as reference in all other db-tables

simple tablestructure:
SITES
+--------------+
	Site_SiteID	int PK auto_increment
	Site_Domain	varchar(255)


SITECONTENTS
+--------------+
	SC_SiteContentID	int PK auto_increment
	SC_ContentHeader	varchar(255)
	SC_ContentText		text
	SC_SiteID		int indexed


Constraints
	Site_SiteID 1 --> n SC_SiteID


/botNET
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 02 October 2003 :  07:32:15  Show Profile  Visit HuwR's Homepage
I don't think that they will necesarily sit on the same server.
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 02 October 2003 :  08:50:32  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Huwr is right, they will not be on the same server.

Huwr they have there own web server which there website is the only one running on the server. What custom parts of the server are you thinking of?

What about the .dll file?

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 02 October 2003 :  09:04:15  Show Profile  Visit HuwR's Homepage
you could use an isapi dll on the client sites (most hosting options will allow isapi, if they don't, get a better one that does ) You could then use the isapi dll to comunicate with an app on the main server to retreive the products by id
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 02 October 2003 :  19:44:12  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Humm that sounds like a good idea. The only reason I might second guess that is because I think it needs to be built at a dummy level or people will not understand.

I remember back when aspin.com allowed you (maybe they still do) to offer the scripts on your site. You would type in your template URL with #SOMEWORDSHERE# in the body to specify where you wanted the body inserted of the asp code etc to where your url would be http://asp101.aspin.com/

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 02 October 2003 :  20:13:20  Show Profile  Visit HuwR's Homepage
yes, that would be pretty simple to do ( I think )
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 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 0.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07