Salesforce

How Do I Send Cookies to a Rich Client Program? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Send Cookies to a Rich Client Program? (Magic xpa 3.x)

  1. In the publish.html, find the Jscript function named collectRequiredCookies().

  2. Add the names of the cookies that are needed to the collectRequiredCookies() function in an array named aRequiredCookies.

The published html's launchApplication() function calls the collectRequiredCookies() function, and launches the RIA application, for example: https://myserver/MagicRIAApplications/myapp/my.application?cookies=name1=val1,name2=val2.

The Rich Client will add the cookies to each request.

Reference
Attachment 
Attachment