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)
 Allowing a site to be accessed from within another
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 26 January 2005 :  07:14:55  Show Profile
OK, title probably isn't the best there but it was the most concise way I could come up with for what I'm trying to do!

What we're trying to do is this (using this site as an example):
Say Snitz wanted to set up dating.snitz.com and have it pull up our site, staying withing that domain and with a custom Snitz banner instead of ours, how would we go about this? Obviously we don't want to be handing over any of our source code or revealing our databases username, password, etc.. Basically, what I think we need is some sort of feed that will process the ASP files on our server and return the HTML to the end user through Snitz. XML the way to go here or am I trying to use that as the "magic solution" again?!

Apologies if none of that makes any sense, I'm not exactly clear on it meself! By the way, frames aren't an option - we need dating.snitz.com to function as a standalone entity. That, and they suck!


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.”

Podge
Support Moderator

Ireland
3775 Posts

Posted - 26 January 2005 :  08:37:32  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
If the site is the same in every respect apart from the banner you could do the following;

Use DNS to point the subdomain to your main site (easy enough to do).
When serving banners, check the subdomain using server.variable("SERVER_NAME") or possibly "HTTP_HOST" and serve the appropriate banner for the domain.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 26 January 2005 :  09:22:43  Show Profile
Sounds like the perfect solution Cheers, Podge. Only foreseeable problem I can see is that some of the companies we're approaching with this proposal may not have the capabilty, knowledge or desire to do it this way.

What I'm thinking might be the easiest solution for those companies is just linking them straight into our sight via an "affiliate" link (see Woo.ie links in sig) and setting a permanent cookie on the visitor's machine and then using that to determine which banner to show. Upon registration, the affiliate ID could be stored in the MEMBERS table preventing any possible problems with cookie deletion, etc..


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 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07