C# 2个 webbrowser 打开相同的网页,怎么把验证码不变 我窗口创建2个 webbrowser 但是一个提交了,另一个的验证码就错误了。不知道让另一个的验证码不变就是两个验证码都填了,让两个验证码都正确。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 谁有好的 其他方法,用wbbrowser感觉很笨。但是post的东西没学过。用那个能实现吗。我就是要连续做多次提交表单。 网页源代码<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml;charset=utf-8"/><meta http-equive="Cache-Control" content="must-revalidate,no-cache"/><link rel="icon" href="http://pics.taobao.com/favicon.ico" type="image/x-icon"/><link rel="shortcut icon" href="http://pics.taobao.com/favicon.ico" type="image/x-icon"/><style type="text/css" media="screen"> @import url("http://assets.taobaocdn.com/css/app/wap/wap.css?t=20080923.css"); .gray{color:#666666;} .btn {background:#FF9900 none repeat scroll 0 0;color:#FFFFFF;}</style><title>购买宝贝 - 我的淘宝 - 手机版淘宝</title> </head><body><script type="text/javascript">(function(){function atrand(num){return Math.floor(Math.random()*num)+1}var P=location.pathname;if((parent===self)||P.indexOf('/list_forum')!=-1||P.indexOf('/theme/info/info')!= -1||P.indexOf('/promo/co_header.php')!= -1||P.indexOf('fast_buy.htm')!= -1||P.indexOf('/add_collection.htm')!= -1){var R=escape(document.referrer);document.write('<img src="http://www.atpanel.com/1.gif?cache='+atrand(9999999)+'&pre='+R+'&scr='+screen.width+'x'+screen.height+'&category=&userid=&channel=112&ad_id=" width="0" height="0" style="display:none;" />')}})();</script><script type="text/javascript">(function(){function akrand(num){return Math.floor(Math.random()*num)+1}var P=location.pathname;if((parent===self)||P.indexOf('/list_forum')!=-1||P.indexOf('/theme/info/info')!= -1||P.indexOf('/promo/co_header.php')!= -1||P.indexOf('fast_buy.htm')!= -1||P.indexOf('/add_collection.htm')!= -1){var R=escape(document.referrer);var acookie_load_id=""+akrand(9999999999)+akrand(9999999999);var isv_title=escape(document.title);document.write('<img src="http://acookie.taobao.com/1.gif?acookie_load_id='+acookie_load_id+'&title='+isv_title+'&pre='+R+'&category=&userid=&channel=112&ad_id=" width="0" height="0" style="display:none;" />')}})();</script><div style="margin:0"> 您好,若水寒冰686222!<a href="http://member1.wap.taobao.com/member/logout.jhtml?sid=3f1671eab03fa60e2a7b708e4007ea7d">[退出]</a> </div> <div style="margin-top:5px; text-align:left;"><a href="http://wap.taobao.com?sid=3f1671eab03fa60e2a7b708e4007ea7d"><img src="http://assets.taobaocdn.com/app/wap/logo.gif" alt="淘宝网"/></a></div> <p style="background-color:#f1f1f1;padding:5px;"><b>确认价格与交易条件:</b></p><p><a href="http://auction1.wap.taobao.com/auction/item_detail-0db2-d639e597e06b36ccf82f7caad4783886.jhtml?tks=&shop_id=&sid=3f1671eab03fa60e2a7b708e4007ea7d">黄金 毛巾</a><br/>当前价格:10000.00元 <br/>付款方式:支付宝<br/>所 在 地:广东广州<br/>掌柜:水若潭冰686222</p><form name="mainform" action="http://strade1.wap.taobao.com/auction/buy_item.jhtml?_input_charset=utf-8&sid=3f1671eab03fa60e2a7b708e4007ea7d" method="post"><input type="hidden" name="sid" value="3f1671eab03fa60e2a7b708e4007ea7d"/><input type="hidden" name="sku_id" value=""/><input type="hidden" name="sku_info" value=""/><input type="hidden" name="tks" value="" /><input type="hidden" name="pid" value="0" /><input type="hidden" name="appid" value="" /> <p style="background-color:#f1f1f1;padding:5px;"><b>确认您的收货地址:</b></p> <input type="hidden" name="_fma.b._0.v" value="v"/> <input type="hidden" name="_fma.b._0.ca" value="v"/> <input type="hidden" name="_fma.b._0.r" value="v"/> <input type="hidden" name="_fma.b._0.mo" value="1"/> <input type="hidden" name="_fma.b._0.mob" value="1"/> <p><input type="hidden" name="addr_313739071" value="320594^^^江苏省^^^苏州市^^^新区^^^长江路 ......."/><input type="hidden" name="postCode_313739071" value="215123"/><input type="hidden" name="fullName_313739071" value="李家杰"/><input type="hidden" name="phone_313739071" value=""/><input type="hidden" name="mobile_313739071" value="15950098027"/><input type="hidden" name="divisionCode_313739071" value="320594"/><input type="hidden" name="addrDetail_313739071" value="长江路 ......."/> <input type="hidden" name="checkaddr" id="checkaddr" value="313739071"/> <input type="radio" name="address" checked="checked" value="313739071"/> 省:江苏省 市:苏州市 区:新区 长江路 ....... (收货人:李家杰)<br/><input type="hidden" name="deliver_address_empty" value="1"/></p> <input type="hidden" name="_fma.b._0.di" value="1"/> <input type="hidden" name="_fma.b._0.d" value="111111"/> <input type="hidden" name="_fma.b._0.de" value="1"/> <input type="hidden" name="_fma.b._0.po" value="000000"/> <input type="hidden" name="_fma.b._0.del" value="1"/> <input type="hidden" name="_fma.b._0.ph" value="1"/> <input type="hidden" name="_fma.b._0.pho" value="1"/> <input type="hidden" name="_fma.b._0.phon" value="1"/> <input type="hidden" name="_fma.b._0.deli" value=""/> <a href="http://wap.taobao.com/deliver/wap_deliver_address_list.htm?_input_charset=utf-8&buy_url=http%3A%2F%2Fauction1.wap.taobao.com%2Fauction%2Fbuy_item.jhtml%3F_input_charset%3Dutf-8%26item_id%3Dd639e597e06b36ccf82f7caad4783886%26auction_type%3Db%26title%3D%25E9%25BB%2584%25E9%2587%2591%2B%25E6%25AF%259B%25E5%25B7%25BE%26x_id%3D0db2%26seller_id%3Ddfd1a30c76c662491713a3de5003246b%26allow_quantity%3D62%26seller_nickname%3D%25E6%25B0%25B4%25E8%258B%25A5%25E6%25BD%25AD%25E5%2586%25B0686222%26tks%3D%26pid%3D0%26appid%3D%26issku%3Dfalse%26who_pay_ship%3D%25E5%258D%2596%25E5%25AE%25B6%25E6%2589%25BF%25E6%258B%2585%25E8%25BF%2590%25E8%25B4%25B9%26seller_rate_sum%3D0%26seller_rank%3D0%26current_price%3D10000.00%26buy_now%3D10000.00%26is_orginal%3Dno%26photo_url%3D%26pay_method%3D%25E6%25AC%25BE%25E5%2588%25B0%25E5%258F%2591%25E8%25B4%25A7%26region%3D%25E5%25B9%25BF%25E4%25B8%259C%25E5%25B9%25BF%25E5%25B7%259E%26secure_pay%3Dfalse%26point_price%3Dfalse%26auto_post%3Dfalse%26virtual%3Dfalse%26auto_post1%3D%26sid%3D3f1671eab03fa60e2a7b708e4007ea7d%26destination%3D&sid=3f1671eab03fa60e2a7b708e4007ea7d">更多...</a> <p style="background-color:#f1f1f1;padding:5px;"><b> 确认购买数量 与货运:</b></p> <input type="hidden" name="action" value="buyItemAction"/> <input type="hidden" name="event_submit_do_buy" value="1"/> <input type="hidden" name="title" value="黄金 毛巾"/> <input type="hidden" name="item_id" value="d639e597e06b36ccf82f7caad4783886"/> <input type="hidden" name="seller_id" value="dfd1a30c76c662491713a3de5003246b"/> <input type="hidden" name="auction_type" value="b"/> <input type="hidden" name="x_id" value="0db2"/> <input type="hidden" name="seller_nickname" value="水若潭冰686222"/> <input type="hidden" name="seller_rate_sum" value="0"/> <input type="hidden" name="seller_rank" value="0"/> <input type="hidden" name="who_pay_ship" value="卖家承担运费"/> <input type="hidden" name="allow_quantity" value="62"/> <input type="hidden" name="secure_pay" value="false"/> <input type="hidden" name="pay_method" value="款到发货"/> <input type="hidden" name="region" value="广东广州"/> <input type="hidden" name="current_price" value="10000.00"/> <input type="hidden" name="point_price" value="$pointType"/> <input type="hidden" name="auto_post" value="false"/> <input type="hidden" name="is_orginal" value=""/> <input type="hidden" name="virtual" value="false" /> <input type="hidden" name="auto_post1" value=""/> <input type="hidden" name="auction_promoted" value=""/> <input type="hidden" name="_fma.b._0.a" value=""/> <input type="hidden" name="issku" value="$isSku" /> <p> <font color="#FF0000"></font><br/> 购买数量<span style="color:#999">(可购 62 件)</span><br/> <input type="hidden" name="_fma.b._0.p" format="8N" value="10000.00"/> <input type="hidden" name="_fma.b._0.pr" value="10000.00"/> <input type="text" id="quantityInput" name="_fma.b._0.q" value="1" size="7" format="8N" maxlength="8"/><br/> <input type="hidden" name="_fma.b._0.s" value="0"/> </p><hr/><p> 校验码:<br/> <input type="hidden" name="wapCheckId" value="d81a49e55fcd538468bc28756a8f9f71"/> <img src="http://121.0.25.31/auction/checkcode?sessionID=d81a49e55fcd538468bc28756a8f9f71&it=1&seed=MjAwOcTqMTDUwjI3yNUgMTC14zQyt9YzMcPr" align="absmiddle"/><br/> <input type="text" maxlength="4" name="_fma.b._0.c" value="" size="5"/><br/> <input type="checkbox" style="" name="anony" value="bb" checked="checked" /> <input type="hidden" name="anony_enabled" value="aa"/> 匿名购买 </p><p> 给卖家留言(可不填):<br/> <textarea rows="2" style="width:180px" maxlength="200" name="_fma.b._0.w"></textarea><br/> 可以告诉卖家您对商品的特殊要求,如:颜色、尺码等<br/></p> <p> <input type="submit" value="确认购买"/><br/> </p></form><hr/><div style="background-color:#f1f1f1;"> <a href="http://wap.taobao.com/my_taobao.htm?sid=3f1671eab03fa60e2a7b708e4007ea7d">我的淘宝</a><br/> <a href="http://search1.wap.taobao.com/browse/wap_advance_search.htm?sid=3f1671eab03fa60e2a7b708e4007ea7d">高级搜索</a><br/> <a href="http://wap.taobao.com?sid=3f1671eab03fa60e2a7b708e4007ea7d">淘宝首页</a> </div><div>10月27日 10:42<br/>Copyright 2009 Taobao.com</div></body></html> 估计真的要去研究这些 底层的东西了,表面的不会弄了。 我问了下群里的说 cookie和session 在作怪,我也不懂怎么处理。网上有个软件《马甲管理器 ie版》就能把这个问题解决。可以开几个ie窗口 同时提交 验证码都不会错。可惜找不到人家怎么弄得。 存储过程无法识别参数 关于拉伸图片问题 怎樣把一個字符“324234+2342342//??+'676'”當成一個字符進行查詢? 高分求:如何在winform指定区域用一组坐标画多边形的C# 实现方法! 分布式系统中数据如何上传汇总? 关于Updater Application Block 2.0 VS2010调试asp.net时出现汇编码 在webform中数据库服务器的连接放在web.config中,那在winform中应该放在哪? 讨论:用Com+ 还是Web Service 请问怎么用SQL语句查询A表里有但在B表中没有的记录 string 无法转换为 int 很简单的时间表达的问题
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml;charset=utf-8"/>
<meta http-equive="Cache-Control" content="must-revalidate,no-cache"/><link rel="icon" href="http://pics.taobao.com/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="http://pics.taobao.com/favicon.ico" type="image/x-icon"/>
<style type="text/css" media="screen">
@import url("http://assets.taobaocdn.com/css/app/wap/wap.css?t=20080923.css");
.gray{color:#666666;}
.btn {background:#FF9900 none repeat scroll 0 0;color:#FFFFFF;}
</style>
<title>购买宝贝 - 我的淘宝 - 手机版淘宝</title>
</head>
<body>
<script type="text/javascript">
(function(){function atrand(num){return Math.floor(Math.random()*num)+1}var P=location.pathname;if((parent===self)||P.indexOf('/list_forum')!=-1||P.indexOf('/theme/info/info')!= -1||P.indexOf('/promo/co_header.php')!= -1||P.indexOf('fast_buy.htm')!= -1||P.indexOf('/add_collection.htm')!= -1){var R=escape(document.referrer);document.write('<img src="http://www.atpanel.com/1.gif?cache='+atrand(9999999)+'&pre='+R+'&scr='+screen.width+'x'+screen.height+'&category=&userid=&channel=112&ad_id=" width="0" height="0" style="display:none;" />')}})();
</script><script type="text/javascript">
(function(){function akrand(num){return Math.floor(Math.random()*num)+1}var P=location.pathname;if((parent===self)||P.indexOf('/list_forum')!=-1||P.indexOf('/theme/info/info')!= -1||P.indexOf('/promo/co_header.php')!= -1||P.indexOf('fast_buy.htm')!= -1||P.indexOf('/add_collection.htm')!= -1){var R=escape(document.referrer);var acookie_load_id=""+akrand(9999999999)+akrand(9999999999);var isv_title=escape(document.title);document.write('<img src="http://acookie.taobao.com/1.gif?acookie_load_id='+acookie_load_id+'&title='+isv_title+'&pre='+R+'&category=&userid=&channel=112&ad_id=" width="0" height="0" style="display:none;" />')}})();
</script><div style="margin:0">
您好,若水寒冰686222!<a href="http://member1.wap.taobao.com/member/logout.jhtml?sid=3f1671eab03fa60e2a7b708e4007ea7d">[退出]</a>
</div>
<div style="margin-top:5px; text-align:left;"><a href="http://wap.taobao.com?sid=3f1671eab03fa60e2a7b708e4007ea7d"><img src="http://assets.taobaocdn.com/app/wap/logo.gif" alt="淘宝网"/></a></div> <p style="background-color:#f1f1f1;padding:5px;"><b>确认价格与交易条件:</b></p>
<p><a href="http://auction1.wap.taobao.com/auction/item_detail-0db2-d639e597e06b36ccf82f7caad4783886.jhtml?tks=&shop_id=&sid=3f1671eab03fa60e2a7b708e4007ea7d">黄金 毛巾</a><br/>
当前价格:10000.00元 <br/>
付款方式:支付宝<br/>
所 在 地:广东广州<br/>
掌柜:水若潭冰686222
</p>
<form name="mainform" action="http://strade1.wap.taobao.com/auction/buy_item.jhtml?_input_charset=utf-8&sid=3f1671eab03fa60e2a7b708e4007ea7d" method="post">
<input type="hidden" name="sid" value="3f1671eab03fa60e2a7b708e4007ea7d"/>
<input type="hidden" name="sku_id" value=""/>
<input type="hidden" name="sku_info" value=""/>
<input type="hidden" name="tks" value="" />
<input type="hidden" name="pid" value="0" />
<input type="hidden" name="appid" value="" />
<p style="background-color:#f1f1f1;padding:5px;"><b>确认您的收货地址:</b></p>
<input type="hidden" name="_fma.b._0.v" value="v"/>
<input type="hidden" name="_fma.b._0.ca" value="v"/>
<input type="hidden" name="_fma.b._0.r" value="v"/>
<input type="hidden" name="_fma.b._0.mo" value="1"/>
<input type="hidden" name="_fma.b._0.mob" value="1"/>
<p><input type="hidden" name="addr_313739071" value="320594^^^江苏省^^^苏州市^^^新区^^^长江路 ......."/>
<input type="hidden" name="postCode_313739071" value="215123"/>
<input type="hidden" name="fullName_313739071" value="李家杰"/>
<input type="hidden" name="phone_313739071" value=""/>
<input type="hidden" name="mobile_313739071" value="15950098027"/>
<input type="hidden" name="divisionCode_313739071" value="320594"/>
<input type="hidden" name="addrDetail_313739071" value="长江路 ......."/>
<input type="hidden" name="checkaddr" id="checkaddr" value="313739071"/>
<input type="radio" name="address" checked="checked" value="313739071"/>
省:江苏省
市:苏州市
区:新区
长江路 .......
(收货人:李家杰)<br/>
<input type="hidden" name="deliver_address_empty" value="1"/></p>
<input type="hidden" name="_fma.b._0.di" value="1"/>
<input type="hidden" name="_fma.b._0.d" value="111111"/>
<input type="hidden" name="_fma.b._0.de" value="1"/>
<input type="hidden" name="_fma.b._0.po" value="000000"/>
<input type="hidden" name="_fma.b._0.del" value="1"/>
<input type="hidden" name="_fma.b._0.ph" value="1"/>
<input type="hidden" name="_fma.b._0.pho" value="1"/>
<input type="hidden" name="_fma.b._0.phon" value="1"/>
<input type="hidden" name="_fma.b._0.deli" value=""/>
<a href="http://wap.taobao.com/deliver/wap_deliver_address_list.htm?_input_charset=utf-8&buy_url=http%3A%2F%2Fauction1.wap.taobao.com%2Fauction%2Fbuy_item.jhtml%3F_input_charset%3Dutf-8%26item_id%3Dd639e597e06b36ccf82f7caad4783886%26auction_type%3Db%26title%3D%25E9%25BB%2584%25E9%2587%2591%2B%25E6%25AF%259B%25E5%25B7%25BE%26x_id%3D0db2%26seller_id%3Ddfd1a30c76c662491713a3de5003246b%26allow_quantity%3D62%26seller_nickname%3D%25E6%25B0%25B4%25E8%258B%25A5%25E6%25BD%25AD%25E5%2586%25B0686222%26tks%3D%26pid%3D0%26appid%3D%26issku%3Dfalse%26who_pay_ship%3D%25E5%258D%2596%25E5%25AE%25B6%25E6%2589%25BF%25E6%258B%2585%25E8%25BF%2590%25E8%25B4%25B9%26seller_rate_sum%3D0%26seller_rank%3D0%26current_price%3D10000.00%26buy_now%3D10000.00%26is_orginal%3Dno%26photo_url%3D%26pay_method%3D%25E6%25AC%25BE%25E5%2588%25B0%25E5%258F%2591%25E8%25B4%25A7%26region%3D%25E5%25B9%25BF%25E4%25B8%259C%25E5%25B9%25BF%25E5%25B7%259E%26secure_pay%3Dfalse%26point_price%3Dfalse%26auto_post%3Dfalse%26virtual%3Dfalse%26auto_post1%3D%26sid%3D3f1671eab03fa60e2a7b708e4007ea7d%26destination%3D&sid=3f1671eab03fa60e2a7b708e4007ea7d">更多...</a>
<p style="background-color:#f1f1f1;padding:5px;"><b>
确认购买数量
与货运:</b></p>
<input type="hidden" name="action" value="buyItemAction"/>
<input type="hidden" name="event_submit_do_buy" value="1"/>
<input type="hidden" name="title" value="黄金 毛巾"/>
<input type="hidden" name="item_id" value="d639e597e06b36ccf82f7caad4783886"/>
<input type="hidden" name="seller_id" value="dfd1a30c76c662491713a3de5003246b"/>
<input type="hidden" name="auction_type" value="b"/>
<input type="hidden" name="x_id" value="0db2"/>
<input type="hidden" name="seller_nickname" value="水若潭冰686222"/>
<input type="hidden" name="seller_rate_sum" value="0"/>
<input type="hidden" name="seller_rank" value="0"/>
<input type="hidden" name="who_pay_ship" value="卖家承担运费"/>
<input type="hidden" name="allow_quantity" value="62"/>
<input type="hidden" name="secure_pay" value="false"/>
<input type="hidden" name="pay_method" value="款到发货"/>
<input type="hidden" name="region" value="广东广州"/>
<input type="hidden" name="current_price" value="10000.00"/>
<input type="hidden" name="point_price" value="$pointType"/>
<input type="hidden" name="auto_post" value="false"/>
<input type="hidden" name="is_orginal" value=""/>
<input type="hidden" name="virtual" value="false" />
<input type="hidden" name="auto_post1" value=""/>
<input type="hidden" name="auction_promoted" value=""/>
<input type="hidden" name="_fma.b._0.a" value=""/>
<input type="hidden" name="issku" value="$isSku" />
<p>
<font color="#FF0000"></font><br/>
购买数量<span style="color:#999">(可购 62 件)</span><br/>
<input type="hidden" name="_fma.b._0.p" format="8N" value="10000.00"/>
<input type="hidden" name="_fma.b._0.pr" value="10000.00"/>
<input type="text" id="quantityInput" name="_fma.b._0.q" value="1" size="7" format="8N" maxlength="8"/><br/>
<input type="hidden" name="_fma.b._0.s" value="0"/>
</p>
<hr/>
<p>
校验码:<br/>
<input type="hidden" name="wapCheckId" value="d81a49e55fcd538468bc28756a8f9f71"/>
<img src="http://121.0.25.31/auction/checkcode?sessionID=d81a49e55fcd538468bc28756a8f9f71&it=1&seed=MjAwOcTqMTDUwjI3yNUgMTC14zQyt9YzMcPr" align="absmiddle"/><br/>
<input type="text" maxlength="4" name="_fma.b._0.c" value="" size="5"/><br/>
<input type="checkbox" style="" name="anony" value="bb" checked="checked" />
<input type="hidden" name="anony_enabled" value="aa"/>
匿名购买
</p>
<p> 给卖家留言(可不填):<br/>
<textarea rows="2" style="width:180px" maxlength="200" name="_fma.b._0.w"></textarea><br/>
可以告诉卖家您对商品的特殊要求,如:颜色、尺码等<br/>
</p>
<p>
<input type="submit" value="确认购买"/><br/>
</p>
</form><hr/>
<div style="background-color:#f1f1f1;">
<a href="http://wap.taobao.com/my_taobao.htm?sid=3f1671eab03fa60e2a7b708e4007ea7d">我的淘宝</a><br/>
<a href="http://search1.wap.taobao.com/browse/wap_advance_search.htm?sid=3f1671eab03fa60e2a7b708e4007ea7d">高级搜索</a><br/>
<a href="http://wap.taobao.com?sid=3f1671eab03fa60e2a7b708e4007ea7d">淘宝首页</a>
</div>
<div>10月27日 10:42<br/>Copyright 2009 Taobao.com</div>
</body>
</html>
网上有个软件《马甲管理器 ie版》就能把这个问题解决。可以开几个ie窗口 同时提交 验证码都不会错。可惜找不到人家怎么弄得。