Persisting Host Headers

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
nickc
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Thu Nov 29, 2007 3:48 pm

Persisting Host Headers

Post by nickc » Mon May 05, 2008 4:21 pm

Given that AC7 forces a page redirect to the "licensed" domain on session start, does anyone have any tricks for persisting host headers to across this redirect? I want to allow alternate behaviors for my store when accessed via different host headers (e.g. http://old.store.com vs. http://new.store.com)?

-Nick

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: Persisting Host Headers

Post by sohaib » Thu May 08, 2008 9:27 am

I don't think headers could be retained unless AC7 licensing code is changed to accommodate this somehow.
A better approach would be to have your old and/or non-licensed domains mapped to your own custom page (or application) where you could do the redirection yourself.

User avatar
nickc
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Thu Nov 29, 2007 3:48 pm

Re: Persisting Host Headers

Post by nickc » Thu May 08, 2008 11:07 am

This is more about defining a behavior profile: when a site user visits foo.store.com instead of http://www.store.com, they get targeted ads, products, specials, etc. Can be done using http://www.store.com/foo easily enough - just looking for that extra touch. But you are correct - will likely intercept host header at another site and redirect to http://www.store.com?profile=foo.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Persisting Host Headers

Post by Logan Rhodehamel » Fri May 09, 2008 11:49 am

Our licenses can have multiple domains embedded. Any domain listed in your license will persist. That is something you would have to talk to sales about if you are interested. If you are dealing with a large number of arbitrary or potentially changing domains, the redirect solution seems more appropriate.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Post Reply