A h5 page is placed on the backend of the app. The backend address of the app is 192.168.114.22
After the app logs in, it calls webview to open the h5 page and sends an ajax request to another site a.test.com. This This request did not bring any cookies, why?
Cookies are not shared!
It cannot cross domains. Strictly speaking, it cannot cross main domains.
Of course it will not bring
cookie
,因为cookie
The domain is differentFor example:
segmentfault
’scookie
domain issegmentfault.com
’ssegmentfault
的这个cookie
域是segmentfault.com
的如果访问其他仿站并不会带上这个
cookie
If you visit other imitated sites, thiswill not be included cookie