활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
I have a component where I am creating cookie by using below code:
Cookie cookie = new Cookie("testCookie", "cookieValue");
slingResponse.addCookie(cookie);
My cookie is getting created in browser but at the same time page is getting cached in dispatcher. The problem comes when another user comes to visit the page. Of course he will get the cached page from dispatcher and above cookie won't get created for him.
I have an omniture tracking code written in JS which is dependent on cookie existence.
How do I resolve this issue?
해결되었습니다! 솔루션으로 이동.
Read about Client Context and see if it meets your requirements: http://docs.adobe.com/docs/en/aem/6-0/develop/personalization/client-context.html
scott
조회 수
답글
좋아요 수
Read about Client Context and see if it meets your requirements: http://docs.adobe.com/docs/en/aem/6-0/develop/personalization/client-context.html
scott
조회 수
답글
좋아요 수
The creation of the cookie is dynamic by nature, and therefor the page must not be cached. You have 2 options:
When you design and develop your pages, you must have caching in mind, and the limitations it brings.
Kind regards,
Jörg
You could try permission sensitive caching, more details can be found at
http://helpx.adobe.com/experience-manager/kb/PSCachingDelivery.html
조회 수
답글
좋아요 수