8

In this (Is it possible to use Experience Manager Session Preview without the Ambient Data Framework?) post, Will Price explains how you can work with XPM if you host the ADF in a data service (which gets called by your web app) rather than in the web app itself.

The key is to pass a 'Preview Session Token' from the web app to the service. I have seen this working in 2013, where the token is contained in a cookie called "preview-session-token". But in 2011SP1, this cookie does not appear to be set. I do see a cookie 'TAFTrackingId' but I doubt if that is it.

How can I pass the preview session token to a web service in Tridion 2011 SP1?

3
  • 1
    From what I recall of Nuno's roadmap presentations, this feature came available as of 2013. In 2011 you had to have the ADF and were limited to Java or .Net based website architecture if needing Session Preview. Jan 16, 2015 at 12:46
  • 1
    Turned out it was a configuration problem on the CM side. Once that was solved, I received the preview-session-token cookie in the web application. There is NO difference between 2011 and 2013 in this respect.
    – Quirijn
    Jan 19, 2015 at 10:38
  • Can you share what the CM config needed to be? Jan 19, 2015 at 13:13

1 Answer 1

3

It was actually a DNS issue: the CM could not reach the session preview webservice because the host name could not be resolved. Once we fixed that and restarted the CM, the session preview cookie showed up in our web app.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.