Auto login to a web site

I am using visual studio 2008 and trying to log on to a website,  I can navigate using webbrowser fill in the email address and password.  when I use the command to invoke submit, the login page just reappears with no info filled in.  If I do not invoke submit, it navigates to the webpage and fills in the info.  If I hit the input button, it proceeds to the next page wit no errors.
My code looks like this:
            If WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then
                WebBrowser1.Document.All("pass").SetAttribute("value", Password)
                WebBrowser1.Document.All("email").SetAttribute("value", email1)
            End If
  The Html of the web page looks like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<META NAME="DESCRIPTION" CONTENT="Free web content articles in our article directory and catalog for your website. Read, submit, and publish our articles for free.">
<title>Article Directory and Catalog | Login</title>
<!-- embed_css reminder -->
<link rel="Stylesheet" href="" type="text/css" media="screen">
<script type="text/javascript">
window.google_analytics_uacct = "UA-247184-17";
window.google_analytics_domain_name = "";
<div id="bg">
<table align="center" class="maintable" cellspacing="0" cellpadding="0">
            <td align="center" class="topnav" width="100%">
                  <a href="" rel="nofollow"><img border="0" src="/images/logo.gif" width="427" height="100" alt="Free Articles Directory"></a>
            <td width="200px">
            <td width="100%" class="maincontentcell"><div class="page_title">Login</div>
<p>To login please enter your email and password in the form below.</p>
<form name="clearform" action="" method="post">
                  <td width="33%" align="right" nowrap>Email:</td>
              <td align="left"><input type="text" name="email" id="email" size="31" style="font-family: verdana; font-size: 9px; color: #333333; border: 1px solid #C0C0C0"></td>
                  <td width="33%" align="right" nowrap>Password:</td>
              <td align="left"><input type="password" name="pass" id="pass" size="31" style="font-family: verdana; font-size: 9px; color: #333333; border: 1px solid #C0C0C0"></td>
              <td align="right" nowrap>&nbsp;</td>
              <td align="left"><input type="checkbox" name="remember" id="remember" value="remember">remember me </td>
                  <td width="33%"></td>
                  <td align="left" valign="middle">
                        <input type="submit" value="Login" name="B7" style="color: #333333; font-family: verdana; font-size: 9px; border: 1px solid #C0C0C0">
                  <a href="" rel="nofollow">Forgot Password?</a> | <a href="" rel="nofollow">Register</a>
<script type="text/javascript">;
<td class="navcell">
<div id="navcontainer">
      <div class="sectionheader">Authors</div>
      <ul id="navigation2">
            <li><a href="" rel="nofollow">Login</a>&nbsp;|&nbsp;<a href="" rel="nofollow">Signup</a></li>
            <li><a href="" rel="nofollow">Submit Articles</a></li>
            <li><a href="" rel="nofollow">Terms and Conditions</a></li>
      <div class="sectionheader">Publishers &amp; Readers</div>
      <ul id="navigation3">
            <li><a href="">Subscribe to RSS feed</a></li>
            <li><a href="" rel="nofollow">Top 100 Authors</a></li>
            <li><a href="" rel="nofollow">Publishing Guidelines</a></li>
      <div class="sectionheader">Site</div>
      <ul id="navigation4">
            <li><a href="" rel="nofollow">About Us</a></li>
            <li><a href="" rel="nofollow">Contact Us</a></li>
            <li><a href="" rel="nofollow">Link to Us</a></li>
            <li><a href="" rel="nofollow">Terms of Service</a></li>
            <li><a href="" rel="nofollow">Privacy Policy</a></li>
<font face="Verdana" size="1">&copy; 2006-2010, All rights reserved.
<a href="">Free articles directory</a> | <a href="">Free articles</a> | <a href="">Submit articles</a> | <a href="" target="_blank" rel="nofollow">Terms and Conditions</a>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-247184-17']);
  _gaq.push(['_setDomainName', '']);  
  _gaq.push(['_trackEvent', 'calc', 'great', '', 9]);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try changing




Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.