Send Cookies with Remote JSON Request?

Posted by: katie.koslosky on 22 June 2021, 12:07 pm EST

  • Posted 22 June 2021, 12:07 pm EST

    Our application uses cookies for authorization.

    Is there anyway to configure cookies to be sent when using a GET endpoint as a datasource?

    (Cookies do not seem to be sent with the request, even when they exist and the browser sends them with requests to the same endpoint outside of ActiveReportsJS. Additionally, if I try to add a cookie as a header in the datasource/dataset configuration, that cookie is still not included in the request.)

  • Posted 23 June 2021, 8:13 am EST

    Hello, Katie,

    Sending cookies is not supported. However, you can implement pulling the data in the application’s code and make use of the runtime data binding feature https://www.grapecity.com/activereportsjs/docs/ReportAuthorGuide/Databinding#runtime-data-binding

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels