I am developing a Analytics Software and there is a need to fetch or read User Behaviour from petitor websites. I am thinking that accessing the information from cookies of the petitor site would be a better option. Is there any alternative to this. Also, How to access cookies from all domains using either JavaScript or Java.
I am developing a Analytics Software and there is a need to fetch or read User Behaviour from petitor websites. I am thinking that accessing the information from cookies of the petitor site would be a better option. Is there any alternative to this. Also, How to access cookies from all domains using either JavaScript or Java.
Share Improve this question edited Dec 27, 2013 at 7:44 Jeevan Mysore asked Dec 27, 2013 at 5:53 Jeevan MysoreJeevan Mysore 2555 silver badges17 bronze badges 2- I do not think you can do this, especially in java – Rugal Commented Dec 27, 2013 at 6:02
- Yes Rugal, I also thought that it is not possible using Java, so I am looking for an alternative. – Jeevan Mysore Commented Dec 27, 2013 at 6:16
2 Answers
Reset to default 3If this would have been possible the e-merce world would have been different. It was possible in early browsers but in modern browsers you cannot access cookies from other domains .
And if this is possible it is a security risk too, because typically information regarding sessions on a website will be stored in a cookie. If you are able to read cookies on other domains that is a security breach.