Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 24th, 2006, 06:45 AM
wechillit wechillit is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 1 wechillit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 56 sec
Reputation Power: 0
Question Changing web details for members

I have a website that many resellers use to sell their goods. How do I get a master website to change company logo/contact details etc when my reseller and their contact view the website when linking from their web site?

Ie showing the resellers logo and contact details but keeping the products etc the same.

Can anyone help?

Reply With Quote
  #2  
Old September 29th, 2006, 05:20 AM
GeekGirl GeekGirl is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Sydney, Australia
Posts: 268 GeekGirl User rank is Lance Corporal (50 - 100 Reputation Level)GeekGirl User rank is Lance Corporal (50 - 100 Reputation Level)GeekGirl User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 Days 13 h 43 m 17 sec
Reputation Power: 4
You could do it with ASP using either a variable passed in the link or simply detecting the referer, for example:

Code:
if Request.ServerVariables("HTTP_REFERER") = "http://www.clienta.com" then
	session("referer")= "clientA"

elseIf Request.ServerVariables("HTTP_REFERER") = "http://www.clientb.com" then
	session("referer")= "clientB"

end if

... something like that.

Then you would show logo and other content according to referrer (or client), for example:
Code:
<% If session("referer")="clientA" then %>
    <img src="images/clienta.jpg">
<% end if %>


Or, you could develop a naming convention and reduce code:
Code:
<img src="logo_<%=session("referer")%>



Hope that helps.

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > Changing web details for members


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway