html cookie中的key和value有什麼區別?html cookie中的key和value有什麼區別?
我看到一個cookie看起來像這樣在HTML請求:
not like this:
Cookie: name1=key1; name2=key2;
but rather like this:
Cookie: key1=value1; key2=value2;
而如果想使一個獨特的個人ID爲每個cookie,說「UUID」,
我應該寫鑰匙= 「UUID」?或值=「UUID」?
對不起了「傻」的問題,但我在這裏真的很困惑......
謝謝!
沒有問題是愚蠢的。只要它被正確地詢問和格式化,它就會在SO上被接受。 – 2012-01-04 20:34:54