DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> JavaScript入門知識 >> JavaScript綜合知識 >> JavaScript返回當前會話cookie全部鍵值對照的方法
JavaScript返回當前會話cookie全部鍵值對照的方法
編輯:JavaScript綜合知識     

 下面的JS代碼輸出全部的cookie鍵值對照

  1 2 3 4 5 6 7 8 9 <!DOCTYPE html> <html> <body> Cookies associated with this document: <script> document.write(document.cookie); </script> </body> </html>

在本機上輸出結果如下;

代碼如下: Cookies associated with this document: __gads=ID=88235e28adb2de90:T=1371793250:S=ALNI_MZZqvAlWhTDl1EqFEU4EKH4ZMmPlQ; ASPSESSIONIDSQQDBSSD=AIAFKJPBBOEKIJNAMAOMGJJH; ASPSESSIONIDSQQBCTSD=EPOMLBJDJBKBGKHBJMBGDDPC; __qca=P0-1744690351-1372043640630; ASPSESSIONIDQSSDASTC=EFKIBPODBGMKHIINAGPNMFCA; ASPSESSIONIDQQRBCTTC=FHFAALIBDLEDFDCFJMKIHICP; __utma=119627022.880502788.1371793248.1372301378.1372312534.8; __utmb=119627022.4.10.1372312534; __utmc=119627022; __utmz=119627022.1371803017.3.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=jb51.net
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved