Submit Values from classic asp to asp.net for single login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Moksh
    New Member
    • Apr 2012
    • 1

    Submit Values from classic asp to asp.net for single login

    Hi all,

    I am trying to create a single-sign-on between a classic asp webpage to an asp.net page.
    Following is the HTML form on the classic asp page:

    <form name="fmForm" action="https://secure.abc/Login.aspx?" method="post" enctype="multip art/form-data">
    <input type="hidden" name="user" value="<% = username %>">
    <input type="hidden" name="pass" value="<% = password %>">
    </form>

    I am hoping this should submit the values to the abc website's aspx page and automatically login the user into the abc website. The user exists in the database of the abc website and also for the classic asp website.
    What happens is that the "https://secure.abc/Login.aspx?" page loads up.

    Please correct/advice on where I am going wrong.

    Any help would be highly appreciated.

    Thanks,
Working...