Results 1 to 3 of 3

Thread: Need Help With .asp Log-In Page

  1. #1
    Join Date
    Dec 2005
    Location
    Dallas Texas
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help With .asp Log-In Page

    Hello,

    I have been working on my web page for a while. I am at the point where Ineed an .asp protected log-in page for Employee Name and Password validation in a seperate database. Three tries and your out would be helpful too. I have been looking at some of the scripts here.

    Although the website will be public. This page particular page will be a private log-in for company employee's to log-in to do inventory ordering. Can anyone help.

    Below is the code that I have so far:



    <html>
    <head>
    <title>&nbsp;&nbsp;Inventory Orders</title>
    <style>
    body { font-family: arial, helvetica }
    table { background-color: #cccccc; font-size: 9pt; padding: 3px }
    td { color: #000000; background-color: #cccccc; border-width: 0px }
    th { color: #ffffff; background-color: #0000cc; border-width: 0px }
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>Inventory Orders</title>
    <meta name="Microsoft Theme" content="101-cool-3d-darkgray 0011, default">
    </head>

    <body marginheight="8">

    <p>

    <div style="position: absolute; width: 79px; height: 19px; z-index: 8; left: 876px; top: 69px" id="layer4">
    <object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" id="obj9" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="84" height="44">
    <param name="movie" value="Short Date.swf">
    <param name="quality" value="High">
    <param name="wmode" value="transparent">
    <embed src="Short%20Date.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj9" width="84" height="44" quality="High" wmode="transparent"></object>
    </div>
    <div style="position: absolute; width: 100px; height: 4px; z-index: 6; left: 865px; top: 98px" id="layer5">
    <object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" id="obj8" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="99" height="25">
    <param name="movie" value="Time.swf">
    <param name="quality" value="High">
    <param name="wmode" value="transparent">
    <embed src="Time.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj8" width="99" height="25" quality="High" wmode="transparent"></object>
    </div>

    <p><img border="0" src="Logo2.gif" width="970" height="89"></p>
    <div style="position: absolute; width: 427px; height: 34px; z-index: 1; left: 303px; top: 78px; border: 5px ridge #6D6D6D; " id="layer1">
    <!--webbot bot="Navigation" S-Orientation="horizontal" S-Rendering="graphics" S-Type="global" B-Include-Home="TRUE" B-Include-Up="FALSE" --></div>

    <table border=0 width=100% cellpadding=0 cellspacing=0 style="background-color: #6D6D6D">

    <tr>
    <td valign=top width=170 style="background-color: #6D6D6D" >
    <p align="left">
    <!--webbot bot="Navigation" S-Orientation="vertical" S-Rendering="graphics" S-Type="siblings" B-Include-Home="FALSE" B-Include-Up="FALSE" --></p>
    <p align="center">

    <br>
    <img border="0" src="images/icon_07.gif" width="40" height="40">&nbsp;
    <img border="0" src="images/icon_10.gif" width="40" height="40"><br>
    &nbsp;</p>




    </td>

    <td valign=top width=100% style="background-color: #6D6D6D">
    <table border=1
    width=100% height=100% cellpadding=8 cellspacing=1>
    <tr><td valign=top height="100%" background="images/back2.gif" align="center">
    <p>&nbsp;</p>
    <div style="position: absolute; width: 208px; height: 102px; z-index: 1; left: 450px; top: 349px; border: 5px ridge #FFFF66; float:left" id="layer2">
    <img border="0" src="GR2168.jpg" width="76" height="97" align="left"><img border="0" src="Caution.jpg" width="158" height="91" align="left"></div>
    <div align="center">
    <center>
    <form method="POST" action="<%=LOGON_PAGE%>">
    <table border="2" cellpadding="2" cellspacing="2" style="font-size: 9pt; padding: 3px; background-color: #cccccc" id="table1" width="269">
    <tr>
    <th colspan="4" align="center" style="color: #ffffff; border-width: 0px; background-color: #0000cc">Enter User Name and Password</th>
    </tr>
    <tr>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" width="3">&nbsp;</td>
    <td colspan="2" align="center" style="color: #000000; border-width: 0px; background-color: #cccccc">Please Type Your User Name and Password.</td>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" width="3">&nbsp;</td>
    </tr>
    <tr>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" width="3">&nbsp;</td>
    <td align="left" style="color: #000000; border-width: 0px; background-color: #cccccc" width="74">Site</td>
    <td align="left" style="color: #000000; border-width: 0px; background-color: #cccccc" width="169"><%=Request.ServerVariables("SERVER_NAME")%>
    &nbsp;</td>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" width="3">&nbsp;</td>
    </tr>
    <tr>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" height="28" width="3">&nbsp;</td>
    <td align="left" style="color: #000000; border-width: 0px; background-color: #cccccc" height="28" width="74">User Name</td>
    <td align="left" style="color: #000000; border-width: 0px; background-color: #cccccc" height="28" width="169">
    <input name="UID" type="text" size="20"></td>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" height="28" width="3">&nbsp;</td>
    </tr>
    <tr>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" width="3">&nbsp;</td>
    <td align="left" style="color: #000000; border-width: 0px; background-color: #cccccc" width="74">Password</td>
    <td align="left" style="color: #000000; border-width: 0px; background-color: #cccccc" width="169">
    <input name="PWD" type="Password" size="20"></td>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" width="3">&nbsp;</td>
    </tr>
    <tr>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" width="3">&nbsp;</td>
    <td colspan="2" align="center" style="color: #000000; border-width: 0px; background-color: #cccccc">
    <input type="submit" value="LOGON"></td>
    <td style="color: #000000; border-width: 0px; background-color: #cccccc" width="3">&nbsp;</td>
    </tr>
    </table>
    </form>
    </center></div>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p align=center>
    &nbsp;&nbsp;&nbsp;
    </p>
    </td>
    </tr></table></td>

    <td valign=top width=5 style="background-color: #6D6D6D">&nbsp;</td>


    <td valign=top width=170 style="background-color: #6D6D6D" >

    <p>
    </td></tr>


    <tr>
    <td valign=top style="background-color: #6D6D6D"></td>
    <td height=25 align=center bgcolor=000000 style="background-color: #000000"> <font size="1" color="#aaaaaa" face="verdana">Copyright
    2005&nbsp;&nbsp; [BNC Software&nbsp; Rick Williams]. All rights reserved </font>&nbsp;&nbsp;</td>
    <td valign=top colspan=2 style="background-color: #6D6D6D"></td>
    </tr>
    </table>
    <p>


    </body>
    </html>

    Rick

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Rick:
    1. Try hotscripts.com.
    2. the [code] tags are there for a reason.
    3. Code:
      <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
      Ugh.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Dec 2005
    Location
    Dallas Texas
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The reason for the tags, this page come from several pages made in a template, Not build from scratch.

    But checking with Hotscripts.com. They seem to have quite a bit of information.

    Thank You for the tip.

    Rick

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •