Page 1 of 1
COOKIES!!!
Posted: Mon Jan 16, 2006 7:10 pm
by Luke
Just a quick question - and call me lazy if you will... I was just wondering if cookies set by javascript can be understood by php and visa versa... I know I could write a script to test this and bla bla bla, but I was just wondering if anybody had a yes or no answer,
Posted: Mon Jan 16, 2006 7:18 pm
by Chris Corbyn
Yes.
Posted: Mon Jan 16, 2006 7:18 pm
by Jenk
yes.
EDIT: picked at the post..
Posted: Tue Jan 17, 2006 12:59 am
by duk
cookie is always a cookie
Posted: Tue Jan 17, 2006 6:49 am
by foobar
duk wrote:cookie is always a cookie
Well said.
Posted: Tue Jan 17, 2006 12:43 pm
by Luke
Just gotta ask the stupid questions.. haha
Posted: Tue Jan 17, 2006 12:45 pm
by Ambush Commander
One of the greatest XSS vectors... JavaScript reading cookies.
Posted: Tue Jan 17, 2006 1:14 pm
by foobar
Ambush Commander wrote:One of the greatest XSS vectors... JavaScript reading cookies.
Yea, unfortunately. There are workarounds, so perhaps the adequacy of this "feature" should be reconsidered.
Posted: Tue Jan 17, 2006 6:39 pm
by raghavan20
It is often difficult to change one particular cookie from the set of cookies in Javascript which is easier with server side languages.