Problem With Cookies

Hi guys!

I was wondering what is the difference between Response.cookies and Document.cookies?

And also i'm have problem understanding this code:
<INPUT TYPE="button" NAME="<% =RS("code_no") %>add" VALUE="<%=txt_buy_now%>" class="button" onclick="top.center.cart.addItem('<% =RS("item") %>','<% =RS("price") %>', document.itemsform.id<% =RS("code_no") %>quant.value, document.itemsform.id<% =RS("code_no") %>number.value, '<% =RS("shipping") %>')"></TD></TR>

What is "top.center.cart.addItem"?

Thanx In Advance!
 
i think document.cookies is just the straight vbscript version of setting and getting cookies, and then response.cookies is part of asp
 
Back
Top