Cookie的一取值问提 急!!!!

时间:2021-09-06 16:19:15
我登陆51job后用ieHTTPHeaders看到

Cookie: 51HR=VERSION=0&ISDEMO=&ISAGREEMENT=0&BROWSER=IE&MTYPE=02&PERM=0111111101++++++&HRNAME=2222&COMPANYDATE=2004%2D1%2D8+16%3A39%3A42&KEY=cDqao0il82anJr9v&JOBPOSTAREA=0100%2C0200%2C0300%2C0302%2C0303%2C0304%2C0305%2C0306%2C0307%2C0308%2C0310%2C0314%2C0315%2C0316%2C0317%2C0318%2C0319%2C0400%2C0500%2C0600%2C0700%2C0702%2C0703%2C0704%2C0705%2C0800%2C0802%2C0803%2C0804%2C0900%2C0902%2C1000%2C1002%2C1100%2C1102%2C1103%2C1104%2C1105%2C1200%2C1202%2C1203%2C1204%2C1300%2C1302%2C1400%2C1402%2C1500%2C1502%2C1600%2C1602%2C1700%2C1702%2C1800%2C1802%2C1803%2C1900%2C1902%2C2000%2C2002%2C2100%2C2102%2C2200%2C2202%2C2300%2C2302%2C2303%2C2400%2C2402%2C2403%2C2500%2C2502%2C2600%2C2602%2C2700%2C2702%2C2800%2C2802%2C2900%2C2902%2C3000%2C3002%2C3100%2C3102%2C3200%2C3202%2C3300%2C3400%2C3500%2C3600%2C3700&CTMNAME=%BB%E3%C8%CB%BF%C6%BC%BC&HRUID=256573&SEARCHAREA=&EXPIRES=2006%2D5%2D24+17%3A48%3A48&DIVID=&COID=&LOGINSUCCESSFLAG=1&AC=0000011100000000010100010000111011111111&CTMID=256573; 51HR=PERM=0111111101++++++&HRNAME=2221&HRUID=256573&CTMID=256573&ERROR=Y; ASPSESSIONIDQCBABADD=BHGBEAJAFNBNCFFHKGEFECLP; 51GEORGE=LastLogin=2006%2D5%2D24&

请问用什么方法可以在winform 里自动获得Cookie的这些值
谢谢

5 个解决方案

#1


cookie是写到你客户端的文件夹里的。至于cookie具体躲在你机器上的哪个地方,应该不要我指出了吧?如果你要在winform项目中使用那些cookie,就只需要读取那些txt文本就可以了。不过不知道搂住具体是怎么样使用cookie。

#2


增加System.Web引用,用HttpCookie来取。

#3


关注

#4


可他在客户端只存了51GEORGELastLogin=2006%2D5%2D24&Count=4这些

#5


该回复被版主删除

#1


cookie是写到你客户端的文件夹里的。至于cookie具体躲在你机器上的哪个地方,应该不要我指出了吧?如果你要在winform项目中使用那些cookie,就只需要读取那些txt文本就可以了。不过不知道搂住具体是怎么样使用cookie。

#2


增加System.Web引用,用HttpCookie来取。

#3


关注

#4


可他在客户端只存了51GEORGELastLogin=2006%2D5%2D24&Count=4这些

#5


该回复被版主删除