Anyone have a code snippet to decrypt cookies? Wou...
# support
c
Anyone have a code snippet to decrypt cookies? Would like to send in a server side call as well. Example rl_session = RS_ENC_v3_eyJpZCI6MTY5MzQyOTk5NzM4OSwiZXhwaXJlc0F0IjoxNjkzNDMxODE1NjAzLCJ0aW1lb3V0IjoxODAwMDAwLCJzZXNzaW9uU3RhcnQiOmZhbHNlLCJhdXRvVHJhY2siOnRydWV9
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
h
why do you need this?
c
@hundreds-lifeguard-65770 I need to send the sessionId in a server side call - so I can stitch the server side call to my client side events. Business critical events get sent server side.
For attribution purposes. Are you able to assist? 🙂 We are migrating from mParticle and we currently do this with them - but they do not encrypt this data.
but you can just read it using rudderanalytics.getSessionId()
and send it in the body payload
c
thanks!
m
:)