Discover the top-rated web hosting providers with trusted reviews, expert comparisons, and the latest deals.
Select Currency 7 Currencies
Select Region 9 Editions
VPS Hosting

VPS (Virtual Private Server) hosting is highly popular these days, and there are VPS plans available for small, medium, and even huge business websites!

In comparison to dedicated servers, VPS is pretty low-cost, and your enterprise remains independent if you buy a VPS plan!

Cheap Hosting

If you're starting your first website, you want to spend less on premium web hosting, worry about website performance, or know anything about CPU cores. You only need to consider usability, customer service, and long-term scalability.

Our experts have compiled a list of cheap hosting providers that combine affordability and reliability.

TheWebHostingDIR

ASP - Simple Login Script

August 02, 2017
5,038 views
2 min read
0 comments
Share

Check out this Simple Login Script [POST Method] in ASP:

 

Login Page Code: dologin.asp

 

<FORM ACTION="login.asp" METHOD="post">

<TABLE BORDER=0>

<TR>

<TD ALIGN="right">Login:</TD>

<TD><INPUT TYPE="text"NAME="login"></INPUT></TD>

</TR>

<TR>

<TD ALIGN="right">Password:</TD>

<TD><INPUT TYPE="password" NAME="password"></INPUT></TD>

</TR>

<TR>

<TD ALIGN="right"></TD>

<TD><INPUT TYPE="submit" VALUE="Login"></INPUT>

<INPUT TYPE="reset" VALUE="Reset"></INPUT>

</TD>

</TR>

</TABLE>

</FORM>

 

Read More: ASP.Net - Code For File Download

 

                    ASP.Net - Send Email Using System.Web.Mail Class

 

                    Basic ColdFusion Html File

                 

                   CPanel - How to Take Backup Of Your Website

 

Post Submit Page Code: login.asp

 

<%

If Request.Form("login") = "Shane" AND Request.Form("password") = "Shane" Then

Response. Write "Logged in Protected Area"

Else

Response. Write "Access Denied!"

'Response.End

End If

%>

 

Note: User and password are 'Shane,' and they are Case Sensitive.

 

Found this guide useful?

Share it with friends, team members, or clients.

Comments & Discussion (0)

No comments yet. Be the first to share your thoughts!

Leave a Comment

Sign in to join the conversation

Please log in or create a free account to post comments, ask questions, and engage with the web hosting community.