Newbie: Accessing request cookies using Angular2 http

2 views
Skip to first unread message

nmi...@shoretel.com

unread,
Jun 9, 2016, 7:20:51 PM6/9/16
to Angular2
Hi,

   I am trying to access a cookies that is set by a web server. In the Chrome developer tools, I can see the cookie being set by the server and automatically set by the browser when sending a request. But I am not able to access the cookie that is automatically set in the request. I have tried using angular2-cookies but no luck. Is there any way to do that (as yet) to access cookies that are set by a server? What I might be missing

Thanks in advance and regards

mende...@gmail.com

unread,
Jul 25, 2016, 5:36:11 PM7/25/16
to Angular2
Are you sure the cookies aren't being set as HTTP only?

nmi...@shoretel.com

unread,
Aug 16, 2016, 5:59:42 PM8/16/16
to Angular2
Thanks for the response. Yes. They are marked as HTTP only. Can't they be then accessed using Angular2?
Reply all
Reply to author
Forward
0 new messages