>I don?t know why you need to know if www is there or not but if you had access to IIS, you could have http://www.shop.com point to a different place than http://shop.com all together
There is a stored shop url in the code. Problem is that cookies are being lost between www.shop.com and shop.com when code refers to the shop url variable and cflocates in a few places, or a linkbase variable is set based upon it to use on menus used on various directory levels. I asked my host and they said I would need something like IISrewrite to redirect, or metatags. So I thought to rewrite the request.shopurl variable that is being set, based on their being "www" or not. Then the cflocate and linkbase will be in line with how people come to the site, with "www" or not. (Or I can simply relocate all "www" requests to non "www". Maybe better, but wondering about links to the site and search engines.) If you have a better idea, I'm all ears. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205938 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54