My browser has logged in an internal webpage (e.g. A.html), which is based on a third_party django application. I want to write another web application (e.g. B.html) to query some information from DB based on the login username of A.html by accessing the cookie. Is there anyway to get the username of A.html in B.html with javascript?
Asked
Active
Viewed 434 times
0
-
Have you tried searching for javascript and cookies online? http://stackoverflow.com/questions/4825683/how-do-i-create-and-read-a-value-from-cookie – JCOC611 Dec 13 '13 at 02:06
-
Are the pages in the same domain? – Bergi Dec 13 '13 at 03:02