customize look of website depending on browser URL address
I have a ASP based website. I am trying to customize the look and feel for different customers. I have set certain Session variables e.g.
Session("StyleSheet") = cust1.css
Session("Logo") = cust2.gif
1) Is this a good way of developing 'clientisation'? Can you suggest any better techniques (which dont require 2 seperate websites to be maintained in parallel)?
2) A partner company is using a frameset to allow their URL to be displayed to their customers in the browser address field, whilst our website is displayed in main frame.
The way I'm doing it at the moment, I need to identify which customer is using site. I tried using "HTTP_Referrer" but this dosen't work once user goes between pages within the site if the Session variables are destroyed for any reason e.g. session timeout.
Can you tell me how to identify which address is currently displayed in address bar? Or a better way of doing it?
Any help ideas would be greatly appreciated!
Thanks
Kester