Page 1 of 1

cookies from other websites

Posted: Sat Jul 12, 2008 6:50 pm
by fluffypancakes
hi all!

i'm not really a developer, so this question might make you laugh. here it comes: is there any way of reading the values of the client's cookies that he/she recieved from OTHER web-sites, provided i know the exact name of the cookie, url, etc.

thanks!

Re: cookies from other websites

Posted: Sun Jul 13, 2008 12:24 am
by Jasheppard
i don't think you can, its a matter of security. if it is possible then other sites can read other sites cookies which may contain private data.

Re: cookies from other websites

Posted: Tue Jul 15, 2008 5:22 am
by alex.barylski
No. Like it's been said already that would pose a serious security risk. If I knew the URL and cookie name, path, etc...to my banks website...I could easily find cookies of other people and steal their money. :P

If life were only that easy I wouldn't be working right now, but everyone else would be. :P

You can access cookies in different folders inside the same domain but it's impossible outside of the domain.

What are you trying to do? If we knew more we might be able to offer an alternative solution?