473,320 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Branding a site

Hi There
I want to create an asp.net application that other companies can brand. So for example a customer would put a link to my site on their web page, my site would then have to know where the user came from and then brand the site so that it looks like my site is actually an extension of my customers own site. How can I do this? If each of my customers registered their own domain name that pointed to my server could I tell what domain name a user used to get to my site? Thanks in advance.
Nov 18 '05 #1
7 1333
You could use the Request.RawURL method.
Here's more info:
http://msdn.microsoft.com/library/de...awurltopic.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Charlie Dison" <ch****************@vitalworks.com> wrote in message
news:D4**********************************@microsof t.com...
Hi There,
I want to create an asp.net application that other companies can

brand. So for example a customer would put a link to my site on their web
page, my site would then have to know where the user came from and then
brand the site so that it looks like my site is actually an extension of my
customers own site. How can I do this? If each of my customers registered
their own domain name that pointed to my server could I tell what domain
name a user used to get to my site? Thanks in advance.
Nov 18 '05 #2
have them pass their site id in the link.

<a href=http://yoursite.com?mysiteid=sqlwork>go to branded site<a>

-- bruce (sqlwork.com)

"Charlie Dison" <ch****************@vitalworks.com> wrote in message
news:D4**********************************@microsof t.com...
Hi There,
I want to create an asp.net application that other companies can

brand. So for example a customer would put a link to my site on their web
page, my site would then have to know where the user came from and then
brand the site so that it looks like my site is actually an extension of my
customers own site. How can I do this? If each of my customers registered
their own domain name that pointed to my server could I tell what domain
name a user used to get to my site? Thanks in advance.
Nov 18 '05 #3
Thanks for the response Bruce

I'm sure this approach would be fool prof. What if the user later keys in the url without the parameter.
Nov 18 '05 #4
Thanks for the link. Is there a way to specify a customer id when registering a domain name on the internet? I assume that when I register a domain I specify what ip address the domain resolves to. Can I specify a customer Id in there as well

For example: I setup my domain registration www.greatsite.com to resolve to x.x.x.x/customer
and www.anothersite.com to x.x.x.x/customer

In this way regardless of how the site gets bookmarked I will always have the customer id when a user returns to that domain.
Nov 18 '05 #5
Hi Charlie,

In addition to Steve's suggestion on "RawUrl", I think the UrlReWrite
feature of the ASP.NET is also helpful.
Here are some tech articles and reference on it:

#URL Rewriting in ASP.NET
http://msdn.microsoft.com/library/en...ng.asp?frame=t
rue#urlrewriting_topic2

#URL Rewriting with ASP.NET
http://www.codeproject.com/aspnet/URLRewriter.asp

#Personal .NET Portal
http://www.codeproject.com/aspnet/As...talArticle.asp

Also, I think you can search in the newsgroup for some former threads which
discussing on the similar problem. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #6
Thank You. This will be helpful.
Nov 18 '05 #7
Yes you can set up your registration that way.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Charlie Dison" <ch****************@vitalworks.com> wrote in message
news:F9**********************************@microsof t.com...
Thanks for the link. Is there a way to specify a customer id when registering a domain name on the internet? I assume that when I register a
domain I specify what ip address the domain resolves to. Can I specify a
customer Id in there as well?
For example: I setup my domain registration www.greatsite.com to resolve to x.x.x.x/customer1 and www.anothersite.com to x.x.x.x/customer2

In this way regardless of how the site gets bookmarked I will always have

the customer id when a user returns to that domain.
Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: kevininstructor | last post by:
I created two classes called "site" and "Sites" which use 'BinaryFormatter' to load and save class information to a disk file. In my test application all works fine but when implementing into...
7
by: Charlie Dison | last post by:
Hi There I want to create an asp.net application that other companies can brand. So for example a customer would put a link to my site on their web page, my site would then have to know where the...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
0
by: HackingPSP | last post by:
I saw a lot of requests for a program like this, so I wrote it. Yeah, my site has "PSP software by Auri" but in this case it means "Pretty Sweet Programming" :) There's both a VS2005 add-in and a...
1
by: Knoxy | last post by:
Hi folks, Just a quick post to see if anyone had any thoughts on branding a website for completely different website designs. I have a site at the minute that gets installed with another...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
3
by: DBLWizard | last post by:
Howdy All, Is it possible to have Visual Studio 2005 create a project form an existing hosted website? In other words I want to be able connect via ftp to my website structure and have it pull...
16
by: Ben Sehara | last post by:
Is there any way I can limit the access to my website? I have a site "A" and I want to allow access to it only from site "B" login user. If someone try to access site "A" directory, I want it...
3
by: John Kotuby | last post by:
Hi all, Within an IFRAME of a standard site constructed of mostly static HTM type pages, I am calling up one page from a large ASP.NET 3.5 site. I have precompiled the ASP.NET site and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.