Switch sites to insert cookie

Posted by tcp-me

I'm wondering if anyone has a good idea on how to do this.

My company's site is say... abc.com

My customers who use our service get customer1.abc.com. We've been inserting our cookie for abc.com to track usage and session.

Now my customers want survey.customer1.com to be the domain, but they'll resolve the IP to our site. The problem is, we can only insert and search for cookies within our domain name. So currently our servers do this thing where clients come to survey.customer1.com, we switch them to customer1.abc.com, cookie their browser, and quickly take them back to survey.customer1.com.

We would like to do this on the AX seamlessly. What would the aFlex look like?

Thanks...

Comments

  • edited February 2014
    Posted by ddesmidt

    On HTTP, when a client browses a web site (let's say www.abc.com), the web server can provide a cookie that is valid for that site (www.abc.com) or for the whole domain "abc.com".
    But obviously for security reasons a server can't provide a cookie for other domains such as xyz.com. And if the server does, then the browser will drop it anyway.

    AX follows by default the HTTP protocol.
    That said, AX could be configured to provide cookies for other domains. But as said the browser would drop them.


    Dimitri
Sign In or Register to comment.