Expand my Community achievements bar.

SOLVED

sessionID param for Delivery API

Avatar

Level 4

Is there anyone who can explain how pattern for sessionID is supposed to work with the delivery API?

 

https://developers.adobetarget.com/api/delivery-api/

 

The documentation states that a sessionID is required, but where is this sessionID supposed to come from and how is it generated?  

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @rrrrrraul 

I found similar query thread in forum where it answered. Please check the below links. 

https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/sessionid-parameter-in-deliv...

https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/sessionid-parameter-for-the-...

On the last point on sessionId generation - sessionId is generated and maintained by the client only. 

Let me know if any further question you have.

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

Hi @rrrrrraul 

I found similar query thread in forum where it answered. Please check the below links. 

https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/sessionid-parameter-in-deliv...

https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/sessionid-parameter-for-the-...

On the last point on sessionId generation - sessionId is generated and maintained by the client only. 

Let me know if any further question you have.

Avatar

Level 4

So it seems the reality is that there is no existing pattern (provided by Adobe) for sessionID instantiation/maintenance for a purely server side solution.  

 

This feels like a bit of a disappointment.  There's a requirement for a sessionID, but that sessionID is only provided by the VisitorID service, which only runs in the client.  How is this supposed to work for scenarios that are purely server side or IoT, etc. type systems?  Does Adobe really not offer any sort of recommended pattern on how to set this up?  

Avatar

Level 5

You can use any GUID generator and save the value in cookie for 30min 
Only update the expiry when you have interaction 

After 30 min GUID will be deleted automatically from cookie and you generate another one

Avatar

Level 1

hello I have a question for you folks ... @Gokul_Agiwal  @abu_shafi  @rrrrrraul  so what is the major factor that affects the retrieval of content from an activity I mean:: 
what if the session id changes every request and tntId  is not changing because it is a device uid ? "then the same user with the tntid should be seeing the same content of the experience, right?  "

or if the session id is changed every request that means may be different content will be retrieved from different experience 

I mean what is the relation between session-id and A/B Testing manual splitting traffic

Avatar

Level 5

session id - if session id is generated every time it will impact your segments; you will get cache segments (not real-time segments)

 

tntid (is optional) when thirdPartyId or marketingCloudVisitorId is provided in the request.

 

Note: intid and tnta is not same; tnta is equivalent to SDID in analytics