你好:
从你的问题描述中,我想你是想利用程序自动识别验证码进行登陆吧。这些是需要图片识别技术的。
详情请参照以下文章介绍:
http://archive.cnblogs.com/a/918451/ http://www.cnblogs.com/cntlis/archive/2009/01/15/1376465.html http://www.cnblogs.com/szyicol/archive/2009/06/09/1499276.html http://kb.cnblogs.com/a/545255/ http://www.cnblogs.com/polugen/archive/2006/10/31/545255.html http://www.cnblogs.com/thunderdanky/articles/865783.html
希望对你有所帮助。
http://www.cnblogs.com/index/archive/2004/10/20/54692.aspx
这里有详细的代码……,简单的说就是随机生成一个字符串,把字符串记录在某session里,再根据这个字符串生成图片,外面验证的时候,实际验证的是输入框里的东西和session里的字符串