|
|
| 一个在vbscript中读取cookie的程序函数 |
| 作者:不详 来源:不详 发布时间:2006-8-13 0:35:16 发布人:chinazhan |
减小字体
增大字体
function cookievalue(pcook) lhowlong=len(pcook) lwhereis=instr(document.cookie,pcook) if lwhereis=0 then cookievalue=false else lstartpos=len(document.cookie)-lwhereis-lhowlong lstartstring=right(document.cookie,lstartpos) do lchar=left(lstartstring,1) if lchar=";" then cookievalue=lendstring exit do else lendstring=lendstring & lchar if len(lstartstring)=1 then cookievalue=lendstring exit do else lstartstring=right(lstartstring,len(lstartstring)-1) end if end if loop end if end function 做人要厚道,请注明转自chinazhan中国站长(www.ChinaZhan.com)。
|
| |
|
[]
[返回上一页]
[打 印]
[收 藏] |
|
| ∷相关文章评论∷ (评论内容只代表网友观点,与本站立场无关!) [更多评论...] |
|
|