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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Angular2
Thanks for the response. Yes. They are marked as HTTP only. Can't they be then accessed using Angular2?