Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
alexbjorlig
Creator
Creator

Set-Cookie response-HTTP header ignored: Qliksense mashup external webapp

I am trying to build a web-app on an external webserver, with qliksense embedded.

My problem is that when the client ask for a resource behind the virtual proxy like this:

http://<server>/<proxy prefix>/resources/img/core/dark_noise_16x16.png?qlikTicket=<qlikTicket>

the server responds with a http response header "Set-Cookie", but Chrome on localhost:3000 does not set the cookie.

Why is that - I got it working earlier with the central proxy.

I tried with the following settings on the virtual-proxy:

Access-Control-Allow-Origin: *

Access-Control-Expose-Headers: Set-Cookie, Content-Disposition

Any ideas are very welcome.



1 Reply
alexbjorlig
Creator
Creator
Author

I solved this by setting the

angular $httpProvider.defaults.withCredentials = true

and in the virtual proxy:

Access-Control-Allow-Origin: http://localhost:3000

Access-Control-Allow-Credentials: true