PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, April 20, 2022

[FIXED] How can i resend session cookie with angular?

 April 20, 2022     api, laravel     No comments   

Issue

we have api buildet with laravel and we use JWT to securse our api,we send each request with set cookie and head but in front we use angular we have problem to send this cookie with diferent domaine name. need help


Solution

You can never set a cookie on a different domainname… unless you let the front-end handle setting the cookie



Answered By - Peter Fox
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing